Skip to content

Outlier Rejection API

Chi2OutlierRejecter(chi2_rej_2d=8.0, chi2_rec_2d=7.0, chi2_rej_1d=6.0, chi2_rec_1d=5.0, progressive_alpha=0.25, n_2d=0, n_1d=0)

Bases: OutlierRejecter

Outlier rejecter based on Chi2 test proposed by Carpino et al. (2003). Ref: Carpino M, Milani A, Chesley S R. Error statistics of asteroid optical astrometric observations[J]. Icarus, 2003, 166(2): 248-270.

reject(flat_residuals, optical_weight_matrices, radar_weights, jac, cov_mat, flat_inlier_mask)

Perform one hysteretic rejection/recovery update.

Current inliers are tested only against the rejection threshold, while current outliers are tested only against the recovery threshold. The individual Chi2 values are computed with the covariance sign convention of Carpino et al. (2003), so inliers and outliers use different residual covariance models.

CompiledOutlierPolicy(auto_rejecter, enable_auto_rejection, max_iters, n_2d, n_1d, flat_manual_outlier_mask, flat_manual_inlier_mask, flat_valid_mask, observation_valid_mask)

Bases: Module

InteractiveOutlierPolicy(auto_rejecter, enable_auto_rejecter=True, max_iters=10)

OutlierRejecter

Bases: Module

RejResult

Bases: NamedTuple