empyrean.WeightingConfig

class WeightingConfig(enabled=True, preset=WeightingPreset.VFC17, default_sigma_arcsec=1.0, sigma_policy=None, additional_layers=<factory>)[source]

Bases: object

Observation weighting pipeline. Mirrors empyrean::WeightingConfig.

Default = enabled with the VFC17 preset + a NightlyDeweighting layer (production hot path; matches scott::od::ODConfig::default()). Set enabled=False for uniform 1″ weighting; pick a different preset or replace additional_layers for custom pipelines.

Methods

__init__([enabled, preset, ...])

Attributes

default_sigma_arcsec

Default 1σ when no rule applies (arcsec).

enabled

preset

sigma_policy

Sigma combination policy override.

additional_layers

Layers appended to the preset's chain.

Parameters:
  • enabled (bool)

  • preset (WeightingPreset)

  • default_sigma_arcsec (float)

  • sigma_policy (SigmaPolicy | None)

  • additional_layers (list[WeightingLayer])

enabled: bool = True
preset: WeightingPreset = 'vfc17'
default_sigma_arcsec: float = 1.0

Default 1σ when no rule applies (arcsec). Used only when preset = NONE.

sigma_policy: SigmaPolicy | None = None

Sigma combination policy override. None = use the preset’s policy.

additional_layers: list[WeightingLayer]

Layers appended to the preset’s chain.