imap_processing.spice.geometry#
Functions for computing geometry, many of which use SPICE.
Paradigms for developing this module:
Use @ensure_spice decorator on functions that directly wrap spiceypy functions
Vectorize everything at the lowest level possible (e.g. the decorated spiceypy wrapper function)
Always return numpy arrays for vectorized calls.
Functions
|
Get the basis vectors of the from_frame expressed in the to_frame. |
|
Convert cartesian coordinates to spherical coordinates. |
|
Transform an <x, y, z> vector between reference frames (rotation only). |
|
Get the instrument spin phase for the input query times. |
|
Get the rotation matrix/matrices that can be used to transform between frames. |
|
Get the spacecraft spin phase for the input query times. |
Get the spin phase offset from the spacecraft to the instrument. |
|
Read spin file using environment variable and return spin data. |
|
|
Get the state (position and velocity) of the IMAP spacecraft. |
|
Compute the instrument pointing at the specified times. |
|
Convert spherical coordinates to Cartesian coordinates. |
Classes
|
Enum containing SPICE IDs for bodies that we use. |
|
Enum containing SPICE IDs for reference frames, defined in imap_wkcp.tf. |