ostk.astrodynamics.trajectory.model.Tabulated¶
- class Tabulated(self: ostk.astrodynamics.trajectory.model.Tabulated, states: list[ostk.astrodynamics.trajectory.State], interpolation_type: ostk.mathematics.curve_fitting.Interpolator.Type = <Type.Linear: 2>)¶
Bases:
Model
A trajectory model defined by a set of states.
Constructor.
- Parameters:
states (Array[State]) -- The states of the model.
interpolation_type (Interpolator.Type) -- The type of interpolation to use. Defaults to Linear.
Methods
Calculate the state of the model at a specific instant.
Calculate the states of the model at the specified instants.
Get the first state of the model.
Get the interpolation type of the model.
Get the interval of the model.
Get the last state of the model.
Check if the model is defined.
- calculate_state_at(
- self: ostk.astrodynamics.trajectory.model.Tabulated,
- instant: ostk.physics.time.Instant,
Calculate the state of the model at a specific instant.
- Parameters:
instant (Instant) -- The instant at which to calculate the state.
- Returns:
The state of the model at the specified instant.
- Return type:
- calculate_states_at(
- self: ostk.astrodynamics.trajectory.model.Tabulated,
- instants: list[ostk.physics.time.Instant],
Calculate the states of the model at the specified instants.
- get_first_state( ) ostk.astrodynamics.trajectory.State ¶
Get the first state of the model.
- Returns:
The first state of the model.
- Return type:
- get_interpolation_type( ) ostk.mathematics.curve_fitting.Interpolator.Type ¶
Get the interpolation type of the model.
- Returns:
The interpolation type of the model.
- Return type:
Interpolator.Type
- get_interval( ) ostk.physics.time.Interval ¶
Get the interval of the model.
- Returns:
The interval of the model.
- Return type:
Interval
- get_last_state( ) ostk.astrodynamics.trajectory.State ¶
Get the last state of the model.
- Returns:
The last state of the model.
- Return type:
- is_defined(self: ostk.astrodynamics.trajectory.model.Tabulated) bool ¶
Check if the model is defined.
- Returns:
True if the model is defined, False otherwise.
- Return type: