empyrean.PhotometryResult¶
- class PhotometryResult(h, slope1, slope2, covariance, model_used, reduced_chi2, constraint_active, n_mags_used, n_mags_rejected_photometric, n_obs_without_mags, n_mags_from_astrometric_selected, n_mags_from_astrometric_rejected, alpha_min_deg, alpha_max_deg, alpha_span_deg, per_band, gates, n_mags_dropped_unconvertible, dropped_bands)[source]
Bases:
objectPost-OD photometric solution — an H/G fit over the arc’s magnitudes, run after the orbit is solved. Mirrors
empyrean::PhotometryResult.Photometry has no astrometric partials, so it never touches the state. H carries honest σ via
covariance.Methods
__init__(h, slope1, slope2, covariance, ...)Attributes
hFitted absolute magnitude H (mag).
slope1First slope parameter (G / G12 / G1 by model).
slope2Second slope parameter (G2 for HG1G2; unused otherwise).
covarianceParameter covariance over (H, slope1, slope2), shaped
(3, 3)when available.model_usedModel actually fitted (never
PhotometryModel.AUTO).reduced_chi2Reduced χ² of the photometric fit over its used magnitudes.
constraint_activeWhether a simplex constraint was active on the fitted slopes.
n_mags_usedMagnitudes used in the fit.
n_mags_rejected_photometricMagnitudes rejected by the photometric outlier pass.
n_obs_without_magsObservations carrying no magnitude.
n_mags_from_astrometric_selectedMagnitudes drawn from astrometrically-selected observations.
n_mags_from_astrometric_rejectedMagnitudes drawn from astrometrically-rejected observations.
alpha_min_degMinimum phase angle of the fitted magnitudes (deg).
alpha_max_degMaximum phase angle of the fitted magnitudes (deg).
alpha_span_degPhase-angle span of the fitted magnitudes (deg).
per_bandPer-band statistics.
gatesModel-ladder gate records.
n_mags_dropped_unconvertibleMagnitudes excluded from the fit because their photometric band has no adopted V-band conversion (unknown/unspecified band codes, comet total/nuclear magnitudes).
dropped_bandsDistinct band codes that were dropped, sorted.
- Parameters:
h (float)
slope1 (float)
slope2 (float)
covariance (ndarray | None)
model_used (PhotometryModel)
reduced_chi2 (float)
constraint_active (bool)
n_mags_used (int)
n_mags_rejected_photometric (int)
n_obs_without_mags (int)
n_mags_from_astrometric_selected (int)
n_mags_from_astrometric_rejected (int)
alpha_min_deg (float)
alpha_max_deg (float)
alpha_span_deg (float)
per_band (list[BandStat])
gates (list[GateRecord])
n_mags_dropped_unconvertible (int)
- h: float
Fitted absolute magnitude H (mag).
- slope1: float
First slope parameter (G / G12 / G1 by model).
- slope2: float
Second slope parameter (G2 for HG1G2; unused otherwise).
- covariance: ndarray | None
Parameter covariance over (H, slope1, slope2), shaped
(3, 3)when available.Noneotherwise.
- model_used: PhotometryModel
Model actually fitted (never
PhotometryModel.AUTO).
- reduced_chi2: float
Reduced χ² of the photometric fit over its used magnitudes.
- constraint_active: bool
Whether a simplex constraint was active on the fitted slopes.
- n_mags_used: int
Magnitudes used in the fit.
- n_mags_rejected_photometric: int
Magnitudes rejected by the photometric outlier pass.
- n_obs_without_mags: int
Observations carrying no magnitude.
- n_mags_from_astrometric_selected: int
Magnitudes drawn from astrometrically-selected observations.
- n_mags_from_astrometric_rejected: int
Magnitudes drawn from astrometrically-rejected observations.
- alpha_min_deg: float
Minimum phase angle of the fitted magnitudes (deg).
- alpha_max_deg: float
Maximum phase angle of the fitted magnitudes (deg).
- alpha_span_deg: float
Phase-angle span of the fitted magnitudes (deg).
- per_band: list[BandStat]
Per-band statistics.
- gates: list[GateRecord]
Model-ladder gate records.
- n_mags_dropped_unconvertible: int
Magnitudes excluded from the fit because their photometric band has no adopted V-band conversion (unknown/unspecified band codes, comet total/nuclear magnitudes). Never silent: each exclusion is counted here and the distinct offending band codes are listed in
dropped_bands. The observations’ astrometry is unaffected.