DispersionConst
- class dysmalpy.models.DispersionConst(sigma0=10.0, **kwargs)[source]
Bases:
DispersionProfile
Model for a constant dispersion
- Parameters:
sigma0 (float) – Value of the dispersion at all radii
tracer (string) – (Attribute): Name of the dynamical tracer
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
evaluate
(r, sigma0)Dispersion as a function of radius
Attributes Documentation
- param_names = ('sigma0',)
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.
- sigma0 = DysmalParameter('sigma0', value=10.0, fixed=True, bounds=(0, None), prior=<dysmalpy.parameters.UniformPrior object>)
Methods Documentation