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_state_at

Calculate the state of the model at a specific instant.

calculate_states_at

Calculate the states of the model at the specified instants.

get_first_state

Get the first state of the model.

get_interpolation_type

Get the interpolation type of the model.

get_interval

Get the interval of the model.

get_last_state

Get the last state of the model.

is_defined

Check if the model is defined.

calculate_state_at(
self: ostk.astrodynamics.trajectory.model.Tabulated,
instant: ostk.physics.time.Instant,
) 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:

State

calculate_states_at(
self: ostk.astrodynamics.trajectory.model.Tabulated,
instants: list[ostk.physics.time.Instant],
) list[ostk.astrodynamics.trajectory.State]

Calculate the states of the model at the specified instants.

Parameters:

instants (list[Instant]) -- The instants at which to calculate the states.

Returns:

The states of the model at the specified instants.

Return type:

list[State]

get_first_state(
self: ostk.astrodynamics.trajectory.model.Tabulated,
) ostk.astrodynamics.trajectory.State

Get the first state of the model.

Returns:

The first state of the model.

Return type:

State

get_interpolation_type(
self: ostk.astrodynamics.trajectory.model.Tabulated,
) 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(
self: ostk.astrodynamics.trajectory.model.Tabulated,
) ostk.physics.time.Interval

Get the interval of the model.

Returns:

The interval of the model.

Return type:

Interval

get_last_state(
self: ostk.astrodynamics.trajectory.model.Tabulated,
) ostk.astrodynamics.trajectory.State

Get the last state of the model.

Returns:

The last state of the model.

Return type:

State

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:

bool