get_relative_channel_weights¶
- sofia_redux.scan.custom.fifi_ls.channels.channel_numba_functions.get_relative_channel_weights(variance)[source]¶
Calculate the relative frame weights from the input variance.
- Parameters:
- variancenumpy.ndarray (float)
The variance array of shape (n_frames, n_pixels).
- Returns:
- relative_weightsnumpy.ndarray (float)
The normalized frame weights of shape (n_frames,).