unique_wavelengths¶
- sofia_redux.calibration.standard_model.calibration_io.unique_wavelengths(wavelengths, flux, wmin=40.0, wmax=300.0)[source]¶
Select out a window of unique wavelengths.
- Parameters:
- wavelengthsnumpy.array
Full list of wavelengths in microns.
- fluxnumpy.array
Flux at each wavelength in
wavelengths
.- wminfloat, optional
Minimum wavelength to allow. Defaults to 40 microns.
- wmax :float, optional
Maximum wavelength to allow. Defaults to 300 microns.
- Returns:
- wsnumpy.array
Unique values of
wavelengths
betweenwmin
andwmax
.- fsnumpy.array
Flux at each wavelength in
ws
.