ostk.astrodynamics.trajectory.Model¶
- class Model¶
Bases:
pybind11_object
Trajectory model.
Methods
Calculate the state at a given instant.
Calculate the states at given instants.
Check if the model is defined.
- calculate_state_at(
- self: ostk.astrodynamics.trajectory.Model,
- 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>
- is_defined(self: ostk.astrodynamics.trajectory.Model) bool ¶
Check if the model is defined.
- Returns:
True if the model is defined, False otherwise.
- Return type: