grss.libgrss.CloseApproachParameters#
- class grss.libgrss.CloseApproachParameters#
Bases:
pybind11_object
The CloseApproachParameters class contains parameters used for calculating the close approach between two integrated or SPICE bodies.
- __init__(self: grss.libgrss.CloseApproachParameters) None #
Methods
__init__
(self)get_ca_parameters
(self, propSim, tMap)Calculate the close approach parameters.
print_summary
(self[, prec])Print a summary of the close approach parameters.
Attributes
Magnitude of the B-vector of the close approach (Impact parameter).
B-vector of the close approach.
Name of the central body.
Index of the central body.
SPICE ID of the central body.
Distance of the close approach.
Partials of time of periapsis with respect to CA state.
Partials of linearized time of periapsis with respect to CA state.
Name of the flyby body.
Index of the flyby body.
Lambda parameter of the close approach (gravitational focusing).
Whether the close approach is an impact when accounting for gravitational focusing.
Kizner B-plane parameters of the close approach.
Modified Target Plane (MTP) B-plane parameters of the close approach.
Öpik B-plane parameters of the close approach.
Scaled B-plane parameters of the close approach.
Time of the close approach or impact.
Time of the close approach.
Linearized time of periapsis
Time of mapping.
Time of periapsis (according to Keplerian hyperbolic motion).
Hyperbolic excess velocity of the close approach.
Velocity of the close approach.
Relative state of the close approach or impact.
Relative state of the close approach.
Relative state at map time.
- property bMag#
Magnitude of the B-vector of the close approach (Impact parameter).
- property bVec#
B-vector of the close approach.
- property centralBody#
Name of the central body.
- property centralBodyIdx#
Index of the central body.
- property centralBodySpiceId#
SPICE ID of the central body.
- property dist#
Distance of the close approach.
- property dt#
Partials of time of periapsis with respect to CA state.
- property dtLin#
Partials of linearized time of periapsis with respect to CA state.
- property flybyBody#
Name of the flyby body.
- property flybyBodyIdx#
Index of the flyby body.
- get_ca_parameters(self: grss.libgrss.CloseApproachParameters, propSim: PropSimulation, tMap: float) None #
Calculate the close approach parameters.
- Parameters:
propSim (PropSimulation) – Simulation containing the close approach.
tMap (real) – Time of the mapping point.
- Returns:
None – None.
- Return type:
NoneType
- property gravFocusFactor#
Lambda parameter of the close approach (gravitational focusing).
- property impact#
Whether the close approach is an impact when accounting for gravitational focusing.
- property kizner#
Kizner B-plane parameters of the close approach.
- property mtp#
Modified Target Plane (MTP) B-plane parameters of the close approach.
- property opik#
Öpik B-plane parameters of the close approach.
- print_summary(self: grss.libgrss.CloseApproachParameters, prec: int = 8) None #
Print a summary of the close approach parameters.
- Parameters:
prec (int, optional) – Precision of the printed values, by default 8.
- Returns:
None – None.
- Return type:
NoneType
- property scaled#
Scaled B-plane parameters of the close approach.
- property t#
Time of the close approach or impact.
- property tCA#
Time of the close approach.
- property tLin#
Linearized time of periapsis
- property tMap#
Time of mapping.
- property tPeri#
Time of periapsis (according to Keplerian hyperbolic motion).
- property vInf#
Hyperbolic excess velocity of the close approach.
- property vel#
Velocity of the close approach.
- property xRel#
Relative state of the close approach or impact.
- property xRelCA#
Relative state of the close approach.
- property xRelMap#
Relative state at map time.