LightGaussianRing
- class dysmalpy.models.LightGaussianRing(tracer=None, **kwargs)[source]
Bases:
LightModel
,_DysmalFittable1DModel
Light distribution following a Gaussian ring profile.
- Parameters:
Notes
Model formula:
\[I(r)=I_0\exp\left[-\frac{(r-r_{peak})^2}{2\sigma_R^2}\right]\]Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(r, R_peak, FWHM, L_tot)Gaussian ring light surface density.
Conversion from mass to light as a function of radius
sigma_R
()Attributes Documentation
- FWHM = DysmalParameter('FWHM', value=1.0, bounds=(0, 50), prior=<dysmalpy.parameters.UniformPrior object>)
- L_tot = DysmalParameter('L_tot', value=1.0, bounds=(0, 50), prior=<dysmalpy.parameters.UniformPrior object>)
- R_peak = DysmalParameter('R_peak', value=1.0, bounds=(0, 50), prior=<dysmalpy.parameters.UniformPrior object>)
- param_names = ('R_peak', 'FWHM', 'L_tot')
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(r, R_peak, FWHM, L_tot)[source]
Gaussian ring light surface density. Radius r must be in kpc