ExpDisk
- class dysmalpy.models.ExpDisk(baryon_type='gas+stars', **kwargs)[source]
Bases:
MassModel
,_LightMassModel
Infinitely thin exponential disk (i.e. Freeman disk)
- Parameters:
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
Circular velocity as a function of radius
Exponential disk asymmetric drift term
Enclosed mass as a function of radius
evaluate
(r, total_mass, r_eff, mass_to_light)Mass surface density of a thin exponential disk
Conversion from mass to light as a function of radius
rhogas
(r)Mass surface density as a function of radius
Attributes Documentation
- mass_to_light = DysmalParameter('mass_to_light', value=1.0, fixed=True, prior=<dysmalpy.parameters.UniformPrior object>)
- param_names = ('total_mass', 'r_eff', 'mass_to_light')
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.
- r_eff = DysmalParameter('r_eff', value=1.0, bounds=(0, 50), prior=<dysmalpy.parameters.UniformPrior object>)
- rd
- total_mass = DysmalParameter('total_mass', value=1.0, bounds=(5, 14), prior=<dysmalpy.parameters.UniformPrior object>)
- tracer = 'mass'
Methods Documentation
- dlnrhogas_dlnr(r)[source]
Exponential disk asymmetric drift term
- Parameters:
r (float or array) – Radius in kpc
- Returns:
log_drhodr – Log surface density derivative as a function or radius
- Return type:
float or array
Notes
See [1] for derivation and specificall Equations 3-11
References
- static evaluate(r, total_mass, r_eff, mass_to_light)[source]
Mass surface density of a thin exponential disk