sun_loc

gdt.missions.fermi.gbm.localization.dol.legacy_functions.sun_loc(sc_time_sec)[source]

Compute the location of the sun in equatorial (ra, dec) coordinates

NOTE: We calculate JulianDay as an offset from the Julian Day of the GLAST Epoch: JD_OF_GLAST_EPOCH is defined in gbm_central.h – comments there describe the calculation of its value.

Parameters:

sc_time_sec (int64) – Spacecraft time in MET seconds

Returns:

  • sun_ra (float32) – Right ascension of the sun in radians

  • sun_dec (float32) – Declination of the sun in radians