RKPropagator

class ssapy.propagator.RKPropagator[source][source]

Bases: Propagator, ABC

Abstract base class for Runge-Kutta-based orbit propagators.

Subclasses implement _prop() to define the propagation logic and set _minPoints to the minimum number of cached states needed for spline interpolation.

Notes

The _getRVOne() method uses an interpolation cache to store computed states, times, and spline objects, reducing redundant propagation work. Spline interpolation is used for smooth querying of position and velocity.

Examples

Subclasses provide a fixed-step propagation implementation:

class RK4Propagator(RKPropagator):
    _minPoints = 4

    def _prop(self, times, states, h, t_target, propkw):
        ...