ostk.astrodynamics.dynamics.AtmosphericDrag¶
- class AtmosphericDrag(
- self: ostk.astrodynamics.dynamics.AtmosphericDrag,
- celestial: ostk.physics.environment.object.Celestial,
Bases:
Dynamics
The atmospheric drag dynamics.
Constructor.
- Parameters:
celestial (Celestial) -- The celestial body.
Methods
Compute the contribution of the atmospheric drag to the state vector.
Create a list of Dynamics objects from an environment.
Get the celestial body.
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 atmospheric drag is defined.
- compute_contribution(
- self: ostk.astrodynamics.dynamics.AtmosphericDrag,
- 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 atmospheric drag 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 atmospheric drag to the state vector.
- Return type:
- static from_environment(
- environment: ostk.physics.Environment,
Create a list of Dynamics objects from an environment.
- get_celestial( ) ostk.physics.environment.object.Celestial ¶
Get the celestial body.
- Returns:
The celestial body.
- Return type:
Celestial
- 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>)
- is_defined(self: ostk.astrodynamics.dynamics.AtmosphericDrag) bool ¶
Check if the atmospheric drag is defined.
- Returns:
True if the atmospheric drag is defined, False otherwise.
- Return type: