imap_processing.idex.idex_l2a.remove_signal_noise#

imap_processing.idex.idex_l2a.remove_signal_noise(time: ndarray, signal: ndarray, good_mask: ndarray) ndarray[tuple[int, ...], dtype[_ScalarType_co]]#

Remove linear, sine wave, and high frequency background noise from the input signal.

Parameters:
  • time (np.ndarray) – Time values for the signal.

  • signal (numpy.ndarray) – Target or Ion Grid signal.

  • good_mask (numpy.ndarray) – Boolean mask for the signal array to determine where the baseline noise is.

Returns:

Signal with linear, sine wave, and high frequency background noise filtered out.

Return type:

numpy.ndarray