imap_processing.spice.geometry.solar_longitude#

imap_processing.spice.geometry.solar_longitude(et: ndarray | float, degrees: bool = True) float | ndarray[tuple[int, ...], dtype[_ScalarType_co]]#

Compute the solar longitude of the Imap Spacecraft.

Parameters:
  • et (float or np.ndarray) – Ephemeris time(s) to at which to compute solar longitude.

  • degrees (bool) – If True, the longitude is returned in degrees. Defaults to True.

Returns:

The solar longitude at the specified times.

Return type:

float or np.ndarray