ostk.astrodynamics.dynamics.PositionDerivative¶
- class PositionDerivative(self: ostk.astrodynamics.dynamics.PositionDerivative)¶
Bases:
Dynamics
The position derivative model.
Constructor.
Methods
Compute the contribution of the position derivative to the state vector.
Create a list of Dynamics objects from an environment.
Get the name of the dynamics.
Get the coordinate subsets that the dynamics reads.
Get the coordinate subsets that the dynamics writes.
Check if the position derivative is defined.
- compute_contribution(
- self: ostk.astrodynamics.dynamics.PositionDerivative,
- instant: ostk.physics.time.Instant,
- x: numpy.ndarray[numpy.float64[m, 1]],
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
Compute the contribution of the position derivative to the state vector.
- Parameters:
instant (Instant) -- The instant of the state vector.
x (numpy.ndarray) -- The state vector.
frame (Frame) -- The reference frame.
- Returns:
The contribution of the position derivative to the state vector.
- Return type:
- static from_environment(
- environment: ostk.physics.Environment,
Create a list of Dynamics objects from an environment.
- get_name(self: ostk.astrodynamics.Dynamics) ostk.core.type.String ¶
Get the name of the dynamics.
- Returns:
The name of the dynamics.
- Return type:
name (str)
- get_read_coordinate_subsets(
- self: ostk.astrodynamics.Dynamics,
Get the coordinate subsets that the dynamics reads.
- Returns:
The coordinate subsets that the dynamics reads.
- Return type:
read_coordinate_subsets (Array<CoordinateSubset>)
- get_write_coordinate_subsets(
- self: ostk.astrodynamics.Dynamics,
Get the coordinate subsets that the dynamics writes.
- Returns:
The coordinate subsets that the dynamics writes.
- Return type:
write_coordinate_subsets (Array<CoordinateSubset>)