adam.stm_propagation_module module

@author: vivek @todo: change all printing to logging

class adam.stm_propagation_module.StmPropagationModule(batches_module)

Bases: object

__init__(batches_module)

Initialize self. See help(type(self)) for accurate signature.

run_stm_propagation(propagation_params, opm_params, only_dV=False)

Generates a state transition matrix for the propagation described by the given parameters. Does so by nudging the state vector given in opm_params in several different directions and combining the results of propagating with the slightly different state vectors.

Parameters
  • propagation_params (PropagationParams) – Propagation-related parameters for the STM propagations

  • opm_params (OpmParams) – OPM-related parameters for the propagations, including the nominal state vector that will be varied. Keplerian elements not supported.

  • only_dV (bool) – If True, only find the STM with respect to the velocity

Returns

Final state vector of nominal propagation [rx, ry, rz, vx, vy, vz]

[km, km/s]

stm (matrix):

STM describing effect of changes to final state due to initial state (or velocity)

Return type

end_state (list)