imap_processing.spice.geometry#
Functions for computing geometry, many of which use SPICEYPY.
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 latitudinal coordinates in radians. |
|
Convert cartesian coordinates to spherical coordinates. |
|
Transform an <x, y, z> vector between reference frames (rotation only). |
|
Transform azimuth and elevation coordinates between reference frames. |
|
Calculate the azimuth and elevation angle of instrument mounting. |
|
Calculate IMAP-Lo boresight direction as a function of pivot angle. |
|
Get the rotation matrix/matrices that can be used to transform between frames. |
Get the spin phase offset from the spacecraft to the instrument. |
|
|
Get the state (position and velocity) of the IMAP spacecraft. |
|
Compute the instrument pointing at the specified times. |
|
Compute IMAP-Lo instrument pointing accounting for pivot angle. |
|
Compute the solar longitude of the Imap Spacecraft. |
|
Convert spherical coordinates (angles in degrees) to Cartesian coordinates. |
Classes
|
Enum containing SPICE IDs for bodies that we use. |
|
SPICE IDs for reference frames in imap_###.tf and imap_science_xxx.tf. |