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: object

Post-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

h

Fitted absolute magnitude H (mag).

slope1

First slope parameter (G / G12 / G1 by model).

slope2

Second slope parameter (G2 for HG1G2; unused otherwise).

covariance

Parameter covariance over (H, slope1, slope2), shaped (3, 3) when available.

model_used

Model actually fitted (never PhotometryModel.AUTO).

reduced_chi2

Reduced χ² of the photometric fit over its used magnitudes.

constraint_active

Whether a simplex constraint was active on the fitted slopes.

n_mags_used

Magnitudes used in the fit.

n_mags_rejected_photometric

Magnitudes rejected by the photometric outlier pass.

n_obs_without_mags

Observations carrying no magnitude.

n_mags_from_astrometric_selected

Magnitudes drawn from astrometrically-selected observations.

n_mags_from_astrometric_rejected

Magnitudes drawn from astrometrically-rejected observations.

alpha_min_deg

Minimum phase angle of the fitted magnitudes (deg).

alpha_max_deg

Maximum phase angle of the fitted magnitudes (deg).

alpha_span_deg

Phase-angle span of the fitted magnitudes (deg).

per_band

Per-band statistics.

gates

Model-ladder gate records.

n_mags_dropped_unconvertible

Magnitudes excluded from the fit because their photometric band has no adopted V-band conversion (unknown/unspecified band codes, comet total/nuclear magnitudes).

dropped_bands

Distinct 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)

  • dropped_bands (list[str])

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. None otherwise.

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.

dropped_bands: list[str]

Distinct band codes that were dropped, sorted.