empyrean.refine¶
- refine(orbit, observations, *, config=None)[source]¶
Refine an orbit with new observations using a Bayesian prior.
The orbit must carry a covariance matrix; the seed orbit’s covariance is always used as the prior constraint by the underlying
empyrean_refineC ABI entry point. (Unlikedetermine, there is no opt-out — callingrefineIS the prior-based path.)- Parameters:
orbit (
CartesianOrbits|KeplerianOrbits|CometaryOrbits|SphericalOrbits) – Single orbit with covariance (must contain exactly one entry). Parameter name is singular to match the Rust wrapper’s Context::refine; the type is a quivr table because Python orbits are always table-shaped, but only the first row is used.observations (
ADESObservations) – ADES optical observations.config (
ODConfig|None) – Configuration. Defaults toODConfigdefaults.
- Return type:
DetermineResult- Returns:
DetermineResult – Refined orbit, residuals, and summary statistics.