imap_processing.hi.hi_l1c.good_time_and_phase_mask#

imap_processing.hi.hi_l1c.good_time_and_phase_mask(tick_mets: ndarray, spin_phases: ndarray) ndarray[tuple[int, ...], dtype[_ScalarType_co]]#

Filter out the clock tick times that are not in good times and angles.

Parameters:
  • tick_mets (np.ndarray) – Clock-tick MET times.

  • spin_phases (np.ndarray) – Spin phases for each clock tick.

Returns:

keep_mask – Boolean mask indicating which clock ticks are in good times/phases.

Return type:

np.ndarray