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

as_kepler

Cast the orbit model to a Kepler model.

as_propagated

Cast the orbit model to a propagated model.

as_sgp4

Cast the orbit model to an SGP4 model.

calculate_revolution_number_at

Calculate the revolution number of the orbit model at a given instant.

calculate_state_at

Calculate the state of the SGP4 model at a given instant.

get_epoch

Get the epoch of the SGP4 model.

get_revolution_number_at_epoch

Get the revolution number at the epoch of the SGP4 model.

get_tle

Get the TLE of the SGP4 model.

is_defined

Check if the SGP4 model is defined.

is_kepler

Check if the orbit model is a Kepler model.

is_propagated

Check if the orbit model is a propagated model.

is_sgp4

Check if the orbit model is an SGP4 model.

as_kepler(
self: ostk.astrodynamics.trajectory.orbit.OrbitModel,
) ostk::astrodynamics::trajectory::orbit::model::Kepler

Cast the orbit model to a Kepler model.

Returns:

The Kepler model.

Return type:

Kepler

as_propagated(
self: ostk.astrodynamics.trajectory.orbit.OrbitModel,
) ostk::astrodynamics::trajectory::orbit::model::Propagated

Cast the orbit model to a propagated model.

Returns:

The propagated model.

Return type:

Propagated

as_sgp4(
self: ostk.astrodynamics.trajectory.orbit.OrbitModel,
) ostk::astrodynamics::trajectory::orbit::model::SGP4

Cast the orbit model to an SGP4 model.

Returns:

The SGP4 model.

Return type:

SGP4

calculate_revolution_number_at(
self: ostk.astrodynamics.trajectory.orbit.OrbitModel,
instant: ostk.physics.time.Instant,
) ostk.core.type.Integer

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:

int

calculate_state_at(
self: ostk.astrodynamics.trajectory.orbit.model.SGP4,
instant: ostk.physics.time.Instant,
) ostk.astrodynamics.trajectory.State

Calculate the state of the SGP4 model at a given instant.

Parameters:

instant (Instant) -- The instant.

Returns:

The state.

Return type:

State

get_epoch(
self: ostk.astrodynamics.trajectory.orbit.model.SGP4,
) ostk.physics.time.Instant

Get the epoch of the SGP4 model.

Returns:

The epoch.

Return type:

Instant

get_revolution_number_at_epoch(
self: ostk.astrodynamics.trajectory.orbit.model.SGP4,
) ostk.core.type.Integer

Get the revolution number at the epoch of the SGP4 model.

Returns:

The revolution number.

Return type:

int

get_tle(
self: ostk.astrodynamics.trajectory.orbit.model.SGP4,
) ostk::astrodynamics::trajectory::orbit::model::sgp4::TLE

Get the TLE of the SGP4 model.

Returns:

The TLE.

Return type:

TLE

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:

bool

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:

bool

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:

bool

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:

bool