ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianAcceleration¶
- class CartesianAcceleration(
- self: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianAcceleration,
- cartesian_position: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianPosition,
- cartesian_velocity: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianVelocity,
- name: ostk.core.type.String,
- cartesian_position: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianPosition,
Bases:
CoordinateSubset
Cartesian acceleration coordinate subset.
Defined with respect to a reference frame.
Constructor.
- Parameters:
cartesian_position (CartesianPosition) -- The Cartesian position.
cartesian_velocity (CartesianVelocity) -- The Cartesian velocity.
name (str) -- The name of the subset.
Methods
Add the coordinates of another state to the coordinates of this state.
Get the ballistic coefficient coordinate subset.
Get the default Cartesian acceleration subset.
Get the drag coefficient coordinate subset.
Get the identifier of the coordinate subset.
Get the name of the coordinate subset.
Get the size of the coordinate subset.
Convert a Cartesian acceleration from one reference frame to another.
Get the mass coordinate subset.
Get the mass flow rate coordinate subset.
Subtract the coordinates of another state from the coordinates of this state.
Get the surface area coordinate subset.
Get the Cartesian acceleration subset for thrust acceleration.
- add(
- self: ostk.astrodynamics.trajectory.state.CoordinateSubset,
- instant: ostk.physics.time.Instant,
- coordinates: numpy.ndarray[numpy.float64[m, 1]],
- another_coordinates: numpy.ndarray[numpy.float64[m, 1]],
- frame: ostk.physics.coordinate.Frame,
- coordinate_broker: ostk.astrodynamics.trajectory.state.CoordinateBroker,
- instant: ostk.physics.time.Instant,
Add the coordinates of another state to the coordinates of this state.
- Parameters:
instant (Instant) -- The instant of the state.
coordinates (numpy.ndarray) -- The coordinates of this state.
another_coordinates (numpy.ndarray) -- The coordinates of the other state.
frame (Frame) -- The reference frame of the coordinates.
coordinate_broker (CoordinateBroker) -- The coordinate broker.
- Returns:
The sum of the coordinates.
- Return type:
- static ballistic_coefficient() ostk.astrodynamics.trajectory.state.CoordinateSubset ¶
Get the ballistic coefficient coordinate subset.
- Returns:
The ballistic coefficient coordinate subset.
- Return type:
- static default() ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianAcceleration ¶
Get the default Cartesian acceleration subset.
- Returns:
The default Cartesian acceleration subset.
- Return type:
- static drag_coefficient() ostk.astrodynamics.trajectory.state.CoordinateSubset ¶
Get the drag coefficient coordinate subset.
- Returns:
The drag coefficient coordinate subset.
- Return type:
- get_id( ) ostk.core.type.String ¶
Get the identifier of the coordinate subset.
- Returns:
The identifier of the coordinate subset.
- Return type:
- get_name( ) ostk.core.type.String ¶
Get the name of the coordinate subset.
- Returns:
The name of the coordinate subset.
- Return type:
- get_size( ) int ¶
Get the size of the coordinate subset.
- Returns:
The size of the coordinate subset.
- Return type:
- in_frame(
- self: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianAcceleration,
- instant: ostk.physics.time.Instant,
- coordinates: numpy.ndarray[numpy.float64[m, 1]],
- from_frame: ostk.physics.coordinate.Frame,
- to_frame: ostk.physics.coordinate.Frame,
- coordinate_broker: ostk.astrodynamics.trajectory.state.CoordinateBroker,
- instant: ostk.physics.time.Instant,
Convert a Cartesian acceleration from one reference frame to another.
- Parameters:
instant (Instant) -- The instant of the conversion.
coordinates (np.ndarray) -- The Cartesian acceleration to convert.
from_frame (Frame) -- The reference frame of the input Cartesian acceleration.
to_frame (Frame) -- The reference frame of the output Cartesian acceleration.
coordinate_broker (CoordinateBroker) -- The coordinate broker.
- Returns:
The Cartesian acceleration in the output reference frame.
- Return type:
- static mass() ostk.astrodynamics.trajectory.state.CoordinateSubset ¶
Get the mass coordinate subset.
- Returns:
The mass coordinate subset.
- Return type:
- static mass_flow_rate() ostk.astrodynamics.trajectory.state.CoordinateSubset ¶
Get the mass flow rate coordinate subset.
- Returns:
The mass flow rate coordinate subset.
- Return type:
- subtract(
- self: ostk.astrodynamics.trajectory.state.CoordinateSubset,
- instant: ostk.physics.time.Instant,
- coordinates: numpy.ndarray[numpy.float64[m, 1]],
- another_coordinates: numpy.ndarray[numpy.float64[m, 1]],
- frame: ostk.physics.coordinate.Frame,
- coordinate_broker: ostk.astrodynamics.trajectory.state.CoordinateBroker,
- instant: ostk.physics.time.Instant,
Subtract the coordinates of another state from the coordinates of this state.
- Parameters:
instant (Instant) -- The instant of the state.
coordinates (numpy.ndarray) -- The coordinates of this state.
another_coordinates (numpy.ndarray) -- The coordinates of the other state.
frame (Frame) -- The reference frame of the coordinates.
coordinate_broker (CoordinateBroker) -- The coordinate broker.
- Returns:
The difference of the coordinates.
- Return type:
- static surface_area() ostk.astrodynamics.trajectory.state.CoordinateSubset ¶
Get the surface area coordinate subset.
- Returns:
The surface area coordinate subset.
- Return type:
- static thrust_acceleration() ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianAcceleration ¶
Get the Cartesian acceleration subset for thrust acceleration.
- Returns:
The Cartesian acceleration subset for thrust acceleration.
- Return type: