get_gcrf_state_vector#
- pride.astro.get_gcrf_state_vector(target: str, epochs: numpy.ndarray) numpy.ndarray#
Get cartesian state vector of a target in GCRF (SI units)
Uses spice.spkezr to get the position of a target in J2000, with respect to EARTH, and with aberrations set to NONE. The output is transformed to SI units and casted to an (N, 6) numpy array.
- Parameters:
target – Target name known by spice
epochs – Array of epochs in ET (TDB seconds past J2000)
- Return position_vector:
Aberrated, cartesian state vector of the target with respect to EARTH in J2000 (GCRF) frame.