Normalize

class starkit.base.operations.spectrograph.Normalize(observed, npol)[source]

Bases: SpectrographOperationModel

Normalize a model spectrum to an observed one using a polynomial

Parameters:
observedSpectrum1D object

The observed spectrum to which the model should be matched

npolint

The degree of the polynomial

Attributes Summary

operation_name

requires_observed_spectrum

Methods Summary

evaluate(wavelength, flux)

Evaluate the model on some input variables.

Attributes Documentation

operation_name = 'normalize'
requires_observed_spectrum = True

Methods Documentation

evaluate(wavelength, flux)[source]

Evaluate the model on some input variables.