empyrean.WeightingLayer¶
- class WeightingLayer(kind=WeightingLayerKind.OBSERVATORY_RULE, obs_code='', sigma=(1.0, 1.0), start_epoch_mjd_tdb=None, end_epoch_mjd_tdb=None, scale=1.0, max_gap_days=0.5)[source]
Bases:
objectOne element of the weighting pipeline. Tagged-union shape — the active fields depend on
kind.Mirrors
scott::weighting::WeightingLayer.Methods
__init__([kind, obs_code, sigma, ...])Attributes
end_epoch_mjd_tdbEnd of applicable time range (MJD TDB).
kindmax_gap_daysMax gap (days) between observations to count as the same night (NightlyDeweighting only).
obs_codeMPC observatory code (e.g.
"F51").scaleScale factor on the final weight.
sigma1σ (RA·cos(δ), Dec) in arcseconds.
start_epoch_mjd_tdbStart of applicable time range (MJD TDB).
- Parameters:
- kind: WeightingLayerKind = 'observatory_rule'
- obs_code: str = ''
MPC observatory code (e.g.
"F51").
- start_epoch_mjd_tdb: float | None = None
Start of applicable time range (MJD TDB).
None= unbounded.
- scale: float = 1.0
Scale factor on the final weight.
- max_gap_days: float = 0.5
Max gap (days) between observations to count as the same night (NightlyDeweighting only).