Distance¶
- class starkit.base.operations.stellar.Distance(distance, lum_density2cgs=1.0)[source]¶
Bases:
StellarOperationModelAttributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate(wavelength, flux, distance)Evaluate the model on some input variables.
from_grid(grid[, distance])Attributes Documentation
- distance = Parameter('distance', value=10.0)¶
- operation_name = 'distance'¶
- param_names = ('distance',)¶
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.
Methods Documentation