level¶
- sofia_redux.scan.filters.filters_numba_functions.level(data, n_frames)[source]¶
- Remove the average level from each channel for the provided data set. - This removes the simple average from all channels. If any NaN values are present in the frame data for a given channel, that all data for that channel will be set to zero. - Parameters:
- datanumpy.ndarray
- The data array to level of shape (n_channels, >=n_frames,). 
- n_framesint
- The last non-inclusive index of the data that should have the average level removed. Note that the average level is still calculated over the entire - dataprovided for each channel.
 
- Returns:
- None