ostk.astrodynamics.trajectory.orbit.OrbitModel¶
- class OrbitModel¶
Bases:
pybind11_object
Base class for orbit models.
Provides the interface for orbit models.
Methods
Cast the orbit model to a Kepler model.
Cast the orbit model to a propagated model.
Cast the orbit model to an SGP4 model.
Calculate the revolution number of the orbit model at a given instant.
Calculate the state of the orbit model at a given instant.
Get the epoch of the orbit model.
Get the revolution number at the epoch of the orbit model.
Check if the orbit model is defined.
Check if the orbit model is a Kepler model.
Check if the orbit model is a propagated model.
Check if the orbit model is an SGP4 model.
- as_kepler( ) ostk::astrodynamics::trajectory::orbit::model::Kepler ¶
Cast the orbit model to a Kepler model.
- Returns:
The Kepler model.
- Return type:
- as_propagated( ) ostk::astrodynamics::trajectory::orbit::model::Propagated ¶
Cast the orbit model to a propagated model.
- Returns:
The propagated model.
- Return type:
- as_sgp4( ) ostk::astrodynamics::trajectory::orbit::model::SGP4 ¶
Cast the orbit model to an SGP4 model.
- Returns:
The SGP4 model.
- Return type:
- calculate_revolution_number_at(
- self: ostk.astrodynamics.trajectory.orbit.OrbitModel,
- instant: ostk.physics.time.Instant,
Calculate the revolution number of the orbit model at a given instant.
- Parameters:
instant (Instant) -- The instant at which to calculate the revolution number.
- Returns:
The revolution number of the orbit model at the given instant.
- Return type:
- calculate_state_at(
- self: ostk.astrodynamics.trajectory.orbit.OrbitModel,
- instant: ostk.physics.time.Instant,
Calculate the state of the orbit model at a given instant.
- Parameters:
instant (Instant) -- The instant at which to calculate the state.
- Returns:
The state of the orbit model at the given instant.
- Return type:
- get_epoch( ) ostk.physics.time.Instant ¶
Get the epoch of the orbit model.
- Returns:
The epoch of the orbit model.
- Return type:
Instant
- get_revolution_number_at_epoch( ) ostk.core.type.Integer ¶
Get the revolution number at the epoch of the orbit model.
- Returns:
The revolution number at the epoch of the orbit model.
- Return type:
- is_defined(self: ostk.astrodynamics.trajectory.orbit.OrbitModel) bool ¶
Check if the orbit model is defined.
- Returns:
True if the orbit model is defined, False otherwise.
- Return type:
- is_kepler(self: ostk.astrodynamics.trajectory.orbit.OrbitModel) bool ¶
Check if the orbit model is a Kepler model.
- Returns:
True if the orbit model is a Kepler model, False otherwise.
- Return type:
- is_propagated(self: ostk.astrodynamics.trajectory.orbit.OrbitModel) bool ¶
Check if the orbit model is a propagated model.
- Returns:
True if the orbit model is a propagated model, False otherwise.
- Return type:
- is_sgp4(self: ostk.astrodynamics.trajectory.orbit.OrbitModel) bool ¶
Check if the orbit model is an SGP4 model.
- Returns:
True if the orbit model is an SGP4 model, False otherwise.
- Return type: