att_Drude1D

class pahfit.component_models.att_Drude1D(tau, x_0, fwhm, **kwargs)[source]

Bases: Fittable1DModel

Attenuation components that can be parameterized by Drude profiles.

Attributes Summary

fwhm

param_names

Names of the parameters that describe models of this type.

tau

x_0

Methods Summary

evaluate(x, tau, x_0, fwhm)

Evaluate the model on some input variables.

Attributes Documentation

fwhm
param_names = ('tau', 'x_0', 'fwhm')

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.

tau
x_0

Methods Documentation

static evaluate(x, tau, x_0, fwhm)[source]

Evaluate the model on some input variables.