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:
Av : float

dust column in A(V) [mag]

Attributes Summary

Av
inputs
outputs
param_names

Methods Summary

__call__(axav[, model_set_axis, …]) Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
evaluate(axav, Av) AlAvToElv function
fit_deriv(axav, Av) Derivatives of the AxAvtoElv function with respect to the parameters

Attributes Documentation

Av
inputs = ('axav',)
outputs = ('exv',)
param_names = ('Av',)

Methods Documentation

__call__(axav, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None)

Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.

static evaluate(axav, Av)[source]

AlAvToElv function

Parameters:
axav : np array (float)

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

Returns:
exv : np array (float)

E(x - V)

static fit_deriv(axav, Av)[source]

Derivatives of the AxAvtoElv function with respect to the parameters