find_lines
- jwst.residual_fringe.utils.find_lines(signal, max_amp)[source]
Determine the location of large spectral features.
- Parameters:
- signalndarray
Signal data.
- max_ampndarray
Maximum amplitude, by column. Features larger than this value are flagged.
- Returns:
- weightsndarray
1D array matching signal dimensions, containing 0 values for large features and 1 values where no features were detected.