get_gcrf_position_vector#

pride.astro.get_gcrf_position_vector(target: str, epochs: numpy.ndarray) numpy.ndarray#

Get cartesian position vector of a target in GCRF (SI units)

Uses spice.spkpos 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, 3) numpy array.

Parameters:
  • target – Target name known by spice

  • epochs – Array of epochs in ET (TDB seconds past J2000)

Return position_vector:

Aberrated, cartesian position vector of the target with respect to EARTH in J2000 (GCRF) frame.