imap_processing.ultra.l1b.de.calculate_events_in_pointing#

imap_processing.ultra.l1b.de.calculate_events_in_pointing(repoint_id: int, event_times: ndarray) ndarray#

Calculate boolean array of events within a pointing.

Parameters:
  • repoint_id (int) – The repointing ID.

  • event_times (np.ndarray) – Array of event times in MET.

Returns:

in_pointing – Boolean array indicating whether each event is within the pointing period combined with the valid_events mask.

Return type:

np.ndarray