imap_processing.spice.geometry.get_spacecraft_to_instrument_spin_phase_offset#

imap_processing.spice.geometry.get_spacecraft_to_instrument_spin_phase_offset(instrument: SpiceFrame) float#

Get the spin phase offset from the spacecraft to the instrument.

For now, the offset is a fixed lookup based on Table 1: Nominal Instrument to S/C CS Transformations in document 7516-0011_drw.pdf. That Table defines the angle from the spacecraft y-axis. We add 90 and take the modulous with 360 in order to get the angle from the spacecraft x-axis. These fixed values will need to be updated based on calibration data.

Parameters:

instrument (SpiceFrame) – Instrument to get the spin phase offset for.

Returns:

spacecraft_to_instrument_spin_phase_offset – The spin phase offset from the spacecraft to the instrument.

Return type:

float