harmonize_rejection_filter¶
- sofia_redux.scan.filters.filters_numba_functions.harmonize_rejection_filter(reject, harmonics, odd_harmonics_only)[source]¶
Add harmonics to the rejection filter.
- Parameters:
- rejectnumpy.ndarray (bool)
The rejection mask of size (filter.size,). The mask is updated in-place.
- harmonicsint
The number of harmonics to add.
- odd_harmonics_onlybool
If
True
, only add odd integer harmonics.
- Returns:
- None