adam_core.orbits.oem_io module¶
- adam_core.orbits.oem_io.orbit_to_oem(orbits: Orbits, output_file: str, originator: str = 'ADAM CORE USER') str[source]¶
Convert Orbit object to an OEM file.
This function converts the state vectors and epoch from an Orbit object into the OEM format.
- adam_core.orbits.oem_io.orbit_to_oem_propagated(orbits: Orbits, output_file: str, times: Timestamp, propagator_klass: Type[Propagator], originator: str = 'ADAM CORE USER') str[source]¶
Convert Orbit object to an OEM file.
This function converts the state vectors and epoch from an Orbit object into the OEM format.
- adam_core.orbits.oem_io.orbit_from_oem(input_file: str) Orbits[source]¶
Convert an OEM file to an Orbit object.
This function reads an OEM file and converts the state vectors and epoch into an Orbit object. Each state in the oem file is converted to an Orbit row. Covariances are only supported if the covariance epoch matches the state epoch.
- Parameters:
input_file (str) – Path to the input OEM file
- Returns:
The Orbit object
- Return type:
Orbit