imap_processing.spice.geometry.imap_state#

imap_processing.spice.geometry.imap_state(et: ndarray | float, ref_frame: SpiceFrame = SpiceFrame.ECLIPJ2000, observer: SpiceBody = SpiceBody.SUN) ndarray#

Get the state (position and velocity) of the IMAP spacecraft.

By default, the state is returned in the ECLIPJ2000 frame as observed by the Sun.

Parameters:
  • et (np.ndarray or float) – Epoch time(s) [J2000 seconds] to get the IMAP state for.

  • ref_frame (SpiceFrame) – Reference frame which the IMAP state is expressed in. Default is SpiceFrame.ECLIPJ2000.

  • observer (SpiceBody) – Observing body. Default is SpiceBody.SUN.

Returns:

state – The Cartesian state vector representing the position and velocity of the IMAP spacecraft.

Return type:

np.ndarray