get_occult

gdt.missions.fermi.gbm.localization.dol.legacy_functions.get_occult(sc_pos, npoints, points_array)[source]

Get list of points occulted by the Earth.

Parameters:
  • sc_pos (np.ndarray(np.float32)) – Array with X,Y,Z of space craft

  • npoints (int32) – Number of points in the sky grid

  • points_array (np.ndarray((2, npoints), float32)) – Array with ra/dec locations

Returns:

visible (np.ndarray((2, npoints), int32)) – Array with visibility status for each location (1 == visible, 0 == occulted)