Interpolate

class starkit.base.operations.spectrograph.Interpolate(observed)[source]

Bases: SpectrographOperationModel

This class can be called to do a interpolation on a given spectrum. You must initialize it with the observed spectrum. The output will be a Spectrum1D object.

Parameters:
observed: Spectrum1D object

This is the observed spectrum which you want to interpolate your (model) spectrum to.

Attributes Summary

operation_name

requires_observed_spectrum

Methods Summary

evaluate(wavelength, flux)

Evaluate the model on some input variables.

Attributes Documentation

operation_name = 'interpolate'
requires_observed_spectrum = True

Methods Documentation

evaluate(wavelength, flux)[source]

Evaluate the model on some input variables.