empyrean.RejectionConfig¶
- class RejectionConfig(enabled=True, kind=RejectionKind.ADAPTIVE, chi2_base=9.21, lambda_=1.0, max_threshold=100.0, chi2_rej=8.0, chi2_rec=7.0, max_passes=4)[source]
Bases:
objectOutlier-rejection configuration. The active fields are determined by
kind.Mirrors
scott::rejection::RejectionStrategyplus the upstreammax_rejection_passesknob. Setenabled=Falseto disable the rejection pass entirely.Methods
__init__([enabled, kind, chi2_base, ...])Attributes
chi2_baseχ²(2 dof, p = 0.01) — Carpino, Milani & Chesley 2003.
chi2_recχ²-with-hysteresis lower threshold — recover a previously- rejected observation when χ² < chi2_rec.
chi2_rejχ²-with-hysteresis upper threshold — reject when χ² > chi2_rej.
enabledkindStrategy selector.
lambda_Adaptation strength.
max_passesmax_thresholdEffective-threshold cap for adaptive rejection.
- Parameters:
- enabled: bool = True
- kind: RejectionKind = 'adaptive'
Strategy selector. Default
RejectionKind.ADAPTIVE.
- chi2_base: float = 9.21
χ²(2 dof, p = 0.01) — Carpino, Milani & Chesley 2003. Adaptive rejection only.
- lambda_: float = 1.0
Adaptation strength.
0reduces to standard χ² rejection; higher values protect informative observations more. Adaptive rejection only.
- max_threshold: float = 100.0
Effective-threshold cap for adaptive rejection.
- chi2_rej: float = 8.0
χ²-with-hysteresis upper threshold — reject when χ² > chi2_rej. CMC2003 only. Default 8.0 (≈ 98.2% confidence at 2 DOF).
- chi2_rec: float = 7.0
χ²-with-hysteresis lower threshold — recover a previously- rejected observation when χ² < chi2_rec. CMC2003 only. Must satisfy
chi2_rec < chi2_rejfor hysteresis to break cycles. Default 7.0 (≈ 96.9% confidence at 2 DOF).
- max_passes: int = 4