NormalizeParts¶
- class starkit.base.operations.spectrograph.NormalizeParts(observed, parts, npol)[source]¶
Bases:
SpectrographOperationModelNormalize a model spectrum to an observed one in multiple parts
Here, different parts could, e.g., be different echelle orders or different chips for GMOS spectra.
- Parameters:
- observedSpectrum1D object
The observed spectrum to which the model should be matched
- partslist of slices, index arrays, or boolean arrays
Different parts of the observed spectrum which should be normalized separately.
- npollist of int
Polynomial degrees for the different parts
Attributes Summary
Methods Summary
evaluate(wavelength, flux)Evaluate the model on some input variables.
spectrum_1d_getitem(observed, part)Attributes Documentation
- requires_observed_spectrum = True¶
Methods Documentation