astroforge.propagators.propagator#

astroforge.propagators.propagator(fm, x0, t, **kwargs)[source]#

Propagates an orbital state with a given force model

Parameters:
  • fm (Callable) – Force model to use for propagation

  • x0 (NDArray[np.float64]) – Orbital state vector; should have shape (N, ) where N is the number of parameters in the state.

  • t (NDArray[np.float64]) – Times to at which the orbit propagation should be evaluated. The first time must correspond to the epoch of the initial position and velocity vector given as input.

Returns:

State vector at the times requested

Return type:

NDArray[np.float64]

Raises:

RuntimeError – Raised if propagation fails for any reason