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

bMag

Magnitude of the B-vector of the close approach (Impact parameter).

bVec

B-vector of the close approach.

centralBody

Name of the central body.

centralBodyIdx

Index of the central body.

centralBodySpiceId

SPICE ID of the central body.

dist

Distance of the close approach.

dt

Partials of time of periapsis with respect to CA state.

dtLin

Partials of linearized time of periapsis with respect to CA state.

flybyBody

Name of the flyby body.

flybyBodyIdx

Index of the flyby body.

gravFocusFactor

Lambda parameter of the close approach (gravitational focusing).

impact

Whether the close approach is an impact when accounting for gravitational focusing.

kizner

Kizner B-plane parameters of the close approach.

mtp

Modified Target Plane (MTP) B-plane parameters of the close approach.

opik

Öpik B-plane parameters of the close approach.

scaled

Scaled B-plane parameters of the close approach.

t

Time of the close approach or impact.

tCA

Time of the close approach.

tLin

Linearized time of periapsis

tMap

Time of mapping.

tPeri

Time of periapsis (according to Keplerian hyperbolic motion).

vInf

Hyperbolic excess velocity of the close approach.

vel

Velocity of the close approach.

xRel

Relative state of the close approach or impact.

xRelCA

Relative state of the close approach.

xRelMap

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.