Crop a spectrum to the wavelength window [wavelength_min, wavelength_max].
|
|
| Category |
Transforms |
| Backend |
numpy - implemented here on top of numpy primitives |
| Version |
1.0.0 |
| Reads |
ctx.spectrum (a Spectrum1D) |
| Writes |
spectrum |
Parameters
| Parameter |
Default |
Required |
Description |
wavelength_min |
None |
yes |
Lower bound of the window to keep (Å). |
wavelength_max |
None |
yes |
Upper bound of the window to keep (Å). |
Use it
clip_sigma - Remove outlier samples (cosmic rays, hot pixels) by iterative sigma clipping.
combine_spectra_arithmetic - Add, subtract, multiply or divide ctx.spectrum by a reference.
mask_range - Flag every sample inside a wavelength window as masked.