- class rascal.synthetic.SyntheticSpectrum(coefficients=None, min_wavelength=200.0, max_wavelength=1200.0)¶
Creates a synthetic spectrum generator which, given a suitable model, outputs the expected pixel locations of input wavelengths. It is expected that this will be used mainly for model testing.
coefficients (list) – coefficients for the model
Returns a list of pixel locations for the wavelengths provided
Set the model to fit
- set_wavelength_limit(min_wavelength=None, max_wavelength=None)¶
Set a wavelength filter for the ‘get_pixels’ function.