ostk.astrodynamics.trajectory.state.CoordinateSubset¶
- class CoordinateSubset(
- self: ostk.astrodynamics.trajectory.state.CoordinateSubset,
- name: ostk.core.type.String,
- size: int,
- name: ostk.core.type.String,
Bases:
pybind11_object
State coordinate subset. It contains information related to a particular group of coordinates. It does not contain the coordinate values.
Constructor.
- Parameters:
Methods
Add the coordinates of another state to the coordinates of this state.
Get the ballistic coefficient coordinate 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 the coordinates of this state from one 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 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.CoordinateSubset,
- 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 the coordinates of this state from one frame to another.
- Parameters:
instant (Instant) -- The instant of the state.
coordinates (numpy.ndarray) -- The coordinates of this state.
from_frame (Frame) -- The reference frame of the input coordinates.
to_frame (Frame) -- The reference frame of the output coordinates.
coordinate_broker (CoordinateBroker) -- The coordinate broker.
- Returns:
The coordinates in the output 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: