SBART.Components.Modelling#
Classes
Introduces, in a given object, the functionality to model and interpolate the stellar orders. |
- class Spectral_Modelling#
Bases:
BASE
Introduces, in a given object, the functionality to model and interpolate the stellar orders. In order to inherit from this class, it must also be a children of
SBART.Components.SpectrumComponent.Spectrum
User parameters:
Parameter name
Mandatory
Default Value
Valid Values
Comment
INTERPOL_MODE
False
splines
splines / GP / NN
[1]
Note
This flag will select which algorithm we will use to interpolate the spectra. Depending on the selection, we might want to pass extra-parameters, which can be set by passing a dictionary with the parameters defined in:
splines:
SBART.Components.scipy_interpol.ScipyInterpolSpecModel
GP:
SBART.Components.GPSectralmodel.GPSpecModel
Those configuration are passed in different ways, depending on if we are dealing with Frames or a StellarModel object. The easy way to change them both is to call the following functions:
DataClass.update_interpol_properties_of_all_frames
DataClass.update_interpol_properties_of_stellar_model
Note: Also check the User parameters of the parent classes for further customization options of SBART
- __init__(**kwargs)#
- initialize_modelling_interface()#
- property interpol_mode: str#
- Return type:
str
- property interpolation_interface#
- set_interpolation_properties(new_properties)#
- interpolate_spectrum_to_wavelength(order, new_wavelengths, shift_RV_by, RV_shift_mode, include_invalid=False)#
- trigger_data_storage(*args, **kwargs)#
- Return type:
NoReturn