AxAvToExv

class dust_extinction.conversions.AxAvToExv(Av=1.0, **kwargs)[source]

Bases: astropy.modeling.Fittable1DModel

Model to convert from A(x)/A(V) to E(x-V)

Parameters
Avfloat

dust column in A(V) [mag]

Attributes Summary

Av

param_names

Names of the parameters that describe models of this type.

Methods Summary

evaluate(axav, Av)

AlAvToElv function

Attributes Documentation

Av = Parameter('Av', value=1.0, bounds=(0.0, None))
param_names = ('Av',)

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.

Methods Documentation

static evaluate(axav, Av)[source]

AlAvToElv function

Parameters
axavnp array (float)

E(x-V)/E(B-V) values

Returns
exvnp array (float)

E(x - V)