get_relative_frame_weights¶
- sofia_redux.scan.custom.fifi_ls.frames.fifi_ls_frame_numba_functions.get_relative_frame_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,).