ostk.astrodynamics.trajectory.model.Nadir¶
- class Nadir(
- self: ostk.astrodynamics.trajectory.model.Nadir,
- orbit: ostk.astrodynamics.trajectory.Orbit,
- step_size: ostk.physics.time.Duration = 00.010.000.000,
- orbit: ostk.astrodynamics.trajectory.Orbit,
Bases:
Model
Nadir trajectory model.
This model represents a trajectory that follows the nadir direction of an orbit.
Construct a Nadir object from an orbit.
- Parameters:
orbit (Orbit) -- The orbit.
step_size (Duration) -- The step size for the trajectory. Defaults to 1e-2 seconds.
- Returns:
The Nadir object.
- Return type:
Methods
Calculate the state at a given instant.
Calculate the states at given instants.
Get the orbit of the nadir model.
Get the step size of the nadir model.
Check if the model is defined.
- calculate_state_at(
- self: ostk.astrodynamics.trajectory.model.Nadir,
- instant: ostk.physics.time.Instant,
Calculate the state at a given instant.
- Parameters:
instant (Instant) -- The instant.
- Returns:
The state at the given instant.
- Return type:
- calculate_states_at(
- self: ostk.astrodynamics.trajectory.Model,
- instants: list[ostk.physics.time.Instant],
Calculate the states at given instants. It can be more performant than looping calculate_state_at for multiple instants.
@param instants The instants.
- Returns:
The states at the given instants.
- Return type:
Array<State>
- get_orbit( ) ostk.astrodynamics.trajectory.Orbit ¶
Get the orbit of the nadir model.
- Returns:
The orbit of the nadir model.
- Return type:
- get_step_size( ) ostk.physics.time.Duration ¶
Get the step size of the nadir model.
- Returns:
The step size of the nadir model.
- Return type:
Duration
- is_defined(self: ostk.astrodynamics.trajectory.model.Nadir) bool ¶
Check if the model is defined.
- Returns:
True if the model is defined, False otherwise.
- Return type: