get_icrf_position_vector#

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

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

Uses spice.spkpos to get the position of a target in J2000, with respect to SSB, 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 SSB in J2000 (ICRF) frame.