ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianVelocity¶
- class CartesianVelocity(
- self: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianVelocity,
- cartesian_position: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianPosition,
- name: ostk.core.type.String,
- cartesian_position: ostk.astrodynamics.trajectory.state.coordinate_subset.CartesianPosition,
Bases:
CoordinateSubset
Cartesian velocity coordinate subset.
Defined with respect to a reference frame and a Cartesian position.
Constructor.
- Parameters:
cartesian_position (CartesianPosition) -- The Cartesian position.
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 velocity 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 velocity 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.
- 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.CartesianVelocity ¶
Get the default Cartesian velocity subset.
- Returns:
The default Cartesian velocity 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.CartesianVelocity,
- 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 velocity from one reference frame to another.
- Parameters:
instant (Instant) -- The instant of the conversion.
coordinates (numpy.ndarray) -- The Cartesian velocity to convert.
from_frame (str) -- The reference frame of the input Cartesian velocity.
to_frame (str) -- The reference frame of the output Cartesian velocity.
coordinate_broker (CoordinateBroker) -- The coordinate broker.
- Returns:
The Cartesian velocity 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: