ostk.astrodynamics.utilities.compute_residuals_for_orbit¶
- compute_residuals_for_orbit(candidate_orbit: ~ostk.astrodynamics.trajectory.Orbit, reference_states: list[~ostk.astrodynamics.trajectory.State], local_orbital_frame_factory_or_frame: ~ostk.astrodynamics.trajectory.LocalOrbitalFrameFactory | ~ostk.physics.coordinate.Frame = -- Frame ------------------------------------------------------------------------------------------- Name: GCRF Quasi-inertial: true Parent frame: None ---------------------------------------------------------------------------------------------------- ) list[Residual]¶
Compute position and velocity residuals for an orbit against a list of reference states.
- Parameters:
candidate_orbit (Orbit) -- Candidate Orbit used to generate states at the instants of the reference states.
reference_states (list[State]) -- List of reference States to compare against.
local_orbital_frame_factory_or_frame (LocalOrbitalFrameFactory | Frame, optional) -- The local orbital frame factory to use. Defaults to Frame.GCRF().
- Returns:
List of Residuals.
- Return type: