ostk.astrodynamics.trajectory.orbit.model.SGP4¶
- class SGP4(
- self: ostk.astrodynamics.trajectory.orbit.model.SGP4,
- tle: ostk::astrodynamics::trajectory::orbit::model::sgp4::TLE,
Bases:
OrbitModel
A SGP4 model.
Provides the interface for orbit models.
Constructor.
- Parameters:
tle (TLE) -- The TLE.
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 SGP4 model at a given instant.
Get the epoch of the SGP4 model.
Get the revolution number at the epoch of the SGP4 model.
Get the TLE of the SGP4 model.
Check if the SGP4 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.model.SGP4,
- instant: ostk.physics.time.Instant,
Calculate the state of the SGP4 model at a given instant.
- Parameters:
instant (Instant) -- The instant.
- Returns:
The state.
- Return type:
- get_epoch( ) ostk.physics.time.Instant ¶
Get the epoch of the SGP4 model.
- Returns:
The epoch.
- Return type:
Instant
- get_revolution_number_at_epoch( ) ostk.core.type.Integer ¶
Get the revolution number at the epoch of the SGP4 model.
- Returns:
The revolution number.
- Return type:
- get_tle( ) ostk::astrodynamics::trajectory::orbit::model::sgp4::TLE ¶
Get the TLE of the SGP4 model.
- Returns:
The TLE.
- Return type:
- is_defined(self: ostk.astrodynamics.trajectory.orbit.model.SGP4) bool ¶
Check if the SGP4 model is defined.
- Returns:
True if the SGP4 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: