ostk.astrodynamics.utilities.compute_residuals_for_orbits¶
- compute_residuals_for_orbits(candidate_orbit: ~ostk.astrodynamics.trajectory.Orbit, reference_orbit: ~ostk.astrodynamics.trajectory.Orbit, instants: list[~ostk.physics.time.Instant], 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]¶
Compare two orbits at the provided instants and compute position and velocity residuals.
- Parameters:
candidate_orbit (Orbit) -- Candidate Orbit.
reference_orbit (Orbit) -- Reference Orbit.
instants (list[Instant]) -- List of instants to generate states at.
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: