rv
- ssapy.compute.rv(orbit, time, propagator=KeplerianPropagator())[source][source]
Calculate positions and velocities on the outer product of all supplied orbits and times.
- Parameters:
time (array_like or astropy.time.Time (m,)) – If float (array), then should correspond to GPS seconds; i.e., seconds since 1980-01-06 00:00:00 UTC
propagator (Propagator, optional) – The propagator instance to use.
Notes
If orbit or time is scalar valued (as opposed to a list of Orbit, e.g.) then the corresponding dimension of the output will be squeezed out.
For Keplerian orbit propagation it is more efficient to use a “vector Orbit” instead of a list of single scalar Orbits.
- Returns:
r (array_like (n, m, 3)) – Position in meters.
v (array_like (n, m, 3)) – Velocity in meters per second.