CCM89Extinction

class starkit.base.operations.stellar.CCM89Extinction(a_v=0.0, r_v=3.1)[source]

Bases: StellarOperationModel

Attributes Summary

a_v

ebv

operation_name

param_names

Names of the parameters that describe models of this type.

r_v

Methods Summary

evaluate(wavelength, flux, a_v, r_v)

Evaluate the model on some input variables.

Attributes Documentation

a_v = Parameter('a_v', value=0.0)
ebv
operation_name = 'ccm89_extinction'
param_names = ('a_v', 'r_v')

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 Parameter attributes defined in the class body.

r_v = Parameter('r_v', value=3.1, fixed=True)

Methods Documentation

evaluate(wavelength, flux, a_v, r_v)[source]

Evaluate the model on some input variables.