ostk.astrodynamics.flight.profile.model.Tabulated¶
- class Tabulated(*args, **kwargs)¶
Bases:
Model
A flight profile model defined by a set of states.
Overloaded function.
__init__(self: ostk.astrodynamics.flight.profile.model.Tabulated, states: list[ostk.astrodynamics.trajectory.State]) -> None
Constructor.
- Args:
states (Array[State]): The states of the model.
__init__(self: ostk.astrodynamics.flight.profile.model.Tabulated, states: list[ostk.astrodynamics.trajectory.State], interpolator_type: ostk.mathematics.curve_fitting.Interpolator.Type) -> None
Constructor.
- Args:
states (Array[State]): The states of the model. interpolator_type (Interpolator.Type): The type of interpolator to use for all but the AttitudeQuaternion subset. Attitude quaternions will be interpolated using spherical linear interpolation (SLERP).
Methods
Cast the model to a tabulated model.
Cast the model to a transform model.
Calculate the state of the model at a specific instant.
Calculate the states of the model at specific instants.
Get the axes of the model at a specific instant.
Get the body frame of the model with the specified name.
Get the type of interpolator used in the model.
Get the interval of the model.
Check if the model is defined.
Check if the model is a tabulated model.
Check if the model is a transform model.
- as_tabulated( ) ostk::astrodynamics::flight::profile::model::Tabulated ¶
Cast the model to a tabulated model.
- Returns:
The tabulated model.
- Return type:
- as_transform( ) ostk::astrodynamics::flight::profile::model::Transform ¶
Cast the model to a transform model.
- Returns:
The transform model.
- Return type:
- calculate_state_at( ) ostk.astrodynamics.trajectory.State ¶
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.flight.profile.Model,
- instants: list[ostk.physics.time.Instant],
Calculate the states of the model at specific instants. It can be more performant than looping calculate_state_at for multiple instants.
- get_axes_at( ) ostk.physics.coordinate.Axes ¶
Get the axes of the model at a specific instant.
- Parameters:
instant (Instant) -- The instant at which to get the axes.
- Returns:
The axes of the model at the specified instant.
- Return type:
- get_body_frame(
- self: ostk.astrodynamics.flight.profile.model.Tabulated,
- frame_name: ostk.core.type.String,
Get the body frame of the model with the specified name.
- Parameters:
frame_name (str) -- The name of the body frame.
- Returns:
The body frame of the model with the specified name.
- Return type:
Frame
- get_interpolator_type( ) ostk.mathematics.curve_fitting.Interpolator.Type ¶
Get the type of interpolator used in the model.
- Returns:
The type of interpolator used in 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
- is_defined(self: ostk.astrodynamics.flight.profile.model.Tabulated) bool ¶
Check if the model is defined.
- Returns:
True if the model is defined, False otherwise.
- Return type:
- is_tabulated(self: ostk.astrodynamics.flight.profile.Model) bool ¶
Check if the model is a tabulated model.
- Returns:
True if the model is a tabulated model, False otherwise.
- Return type:
- is_transform(self: ostk.astrodynamics.flight.profile.Model) bool ¶
Check if the model is a transform model.
- Returns:
True if the model is a transform model, False otherwise.
- Return type: