get_icrf_state_vector#

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

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

Uses spice.spkerz to get the state 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, 6) numpy array.

Parameters:
  • target – Target name known by spice

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

Return state_vector:

Aberrated, cartesian state vector of the target with respect to SSB in J2000 (ICRF) frame.