get_downsample_start_indices

sofia_redux.scan.integration.integration_numba_functions.get_downsample_start_indices(frame_valid, window, factor)[source]

Down-sample frame data using a given window kernel.

Parameters:
frame_valid
window
factor
Returns:
downsampled_data, downsampled_flagsnumpy.ndarray, numpy.ndarray

The downsampled data and flags. Both will be of shape (downsampled_frames, n_channels).