ZHeightExp

class dysmalpy.models.ZHeightExp(**kwargs)[source]

Bases: ZHeightProfile

Exponential flux distribution in the z-direction

Parameters:

hz (float) – Scale length of the exponential in kpc

Notes

Model formula:

\[F_z = \exp\left\{\frac{-z}{h_z}\right\}\]

Attributes Summary

hz

param_names

Names of the parameters that describe models of this type.

z_scalelength

Evaluate the flux attenuation (linear multiplier) at all locations of the cube

Methods Summary

evaluate(z, hz)

Evaluate the model on some input variables.

Attributes Documentation

hz = DysmalParameter('hz', value=1.0, fixed=True, bounds=(0, 10), prior=<dysmalpy.parameters.UniformPrior object>)
param_names = ('hz',)

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.

z_scalelength

Methods Documentation

static evaluate(z, hz)[source]

Evaluate the model on some input variables.