InstrumentDeltaLambdaConstant¶
- class starkit.base.operations.spectrograph.InstrumentDeltaLambdaConstant(delta_lambda, grid_R, sampling=4)[source]¶
Bases:
SpectrographOperationModelConvolve with a gaussian with given resolution to mimick an instrument assuming delta_lambda being constant
- Parameters:
- Rfloat or astropy.units.Quantity (unitless)
resolution of the spectrum R = lambda/delta_lambda at wavelength
- sampling: float
number of pixels per resolution element (default=2.)
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate(wavelength, flux, delta_lambda)Evaluate the model on some input variables.
from_grid(grid[, delta_lambda])Attributes Documentation
- delta_lambda = Parameter('delta_lambda', value=nan)¶
- operation_name = 'delta_lambda_constant'¶
- param_names = ('delta_lambda',)¶
Names of the parameters that describe models of this type.
The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.
When defining a custom model class the value of this attribute is automatically set by the
Parameterattributes defined in the class body.
- requires_observed_spectrum = False¶
Methods Documentation