ForegroundExponentialExtinction
- class dysmalpy.models.ForegroundExponentialExtinction(Alam0=0.0, rd=1.0, **kwargs)[source]
Bases:
DustExtinction
Model for extinction due to a foreground plane of dust
- Parameters:
Notes
This model places a dust dust as a foreground screen before the entire cube, with an exponential profile in the midplane of the source geometry.
All positions that will have their flux reduced by \(A=10^{-0.4A_{\lambda}(r)}\), with
\[F = AF_{\rm intrinsic}\]where \(A\) is between 0 and 1. Here \(A_{\lambda}(r)=A_{\lambda,0}e^{-r/rd}\), and \(r=\sqrt{x^2+y^2}\).
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
attenuation_cube
(x, y, z)Evaluate the flux attenuation (linear multiplier) at all locations of the cube
evaluate
(x, y, z, Alam0, rd)Evaluate the model on some input variables.
Attributes Documentation
- Alam0 = DysmalParameter('Alam0', value=0.0, bounds=(0.0, 10.0), prior=<dysmalpy.parameters.UniformPrior object>)
- param_names = ('Alam0', 'rd')
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.
- rd = DysmalParameter('rd', value=1.0, bounds=(0.0, 10.0), prior=<dysmalpy.parameters.UniformPrior object>)
Methods Documentation