imap_processing.spice.geometry.imap_state#

imap_processing.spice.geometry.imap_state(et: ndarray | float, ref_frame: SpiceFrame = SpiceFrame.ECLIPJ2000, abcorr: str = 'NONE', 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 (Optional)) – Reference frame which the IMAP state is expressed in. Default is SpiceFrame.ECLIPJ2000.

  • abcorr (str (Optional)) – Aberration correction flag. Default is “NONE”.

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

Returns:

state – The Cartesian state vector representing the position and velocity of the IMAP spacecraft. Units are km and km/s.

Return type:

np.ndarray