dft_filter_frequency_channel

sofia_redux.scan.filters.filters_numba_functions.dft_filter_frequency_channel(data, fch, rejection_value, rejected, n_frames)[source]

Apply DFT filtering for a given frequency channel.

Parameters:
datanumpy.ndarray (float)

The data to filter of shape (pow2ceil(n_frames),) in real-space for a single channel.

fchint

The frequency channel.

rejection_valuefloat

The filter rejection value for the fch channel.

rejectednumpy.ndarray (float)

The current rejected overall values (in Fourier space). This is updated in-place, so must be correct on entry and be the same shape as data (pow2ceil(n_frames),).

n_framesint

The number of integration frames.

Returns:
None