EinastoProfile#
- class gammapy.astro.darkmatter.EinastoProfile[source]#
Bases:
DMProfileEinasto Profile.
\[\rho(r) = \rho_s \exp{ \left(-\frac{2}{\alpha}\left[ \left(\frac{r}{r_s}\right)^{\alpha} - 1\right] \right)}\]- Parameters:
References
[1]- `Einasto (1965), “On the Construction of a Composite Model
for the Galaxy and on the Determination of the System
of Galactic Parameters” <https://ui.adsabs.harvard.edu/abs/1965TrAlm…5…87E>`_
Attributes Summary
Default scale radius as given in reference 2
Default scale radius as given in reference 2
Methods Summary
evaluate(radius, r_s, alpha, rho_s)Evaluate the profile.
Attributes Documentation
- DEFAULT_ALPHA = 0.17#
Default scale radius as given in reference 2
- DEFAULT_SCALE_RADIUS = <Quantity 28.44 kpc>#
Default scale radius as given in reference 2
Methods Documentation
- classmethod __new__(*args, **kwargs)#