NFWProfile¶
-
class
gammapy.astro.darkmatter.profiles.
NFWProfile
(r_s=None, rho_s=<Quantity 1. GeV / cm3>)[source]¶ Bases:
gammapy.astro.darkmatter.profiles.DMProfile
NFW Profile.
\[\rho(r) = \rho_s \frac{r_s}{r}\left(1 + \frac{r}{r_s}\right)^{-2}\]References
Attributes Summary
Default scale radius as given in reference 2
Methods Summary
__call__
(radius)Call evaluate method of derived classes.
evaluate
(radius, r_s, rho_s)integral
(rmin, rmax, **kwargs)Integrate squared dark matter profile numerically.
Scale to local density.
Attributes Documentation
-
DEFAULT_SCALE_RADIUS
= <Quantity 24.42 kpc>¶ Default scale radius as given in reference 2
-
DISTANCE_GC
= <Quantity 8.33 kpc>¶
-
LOCAL_DENSITY
= <Quantity 0.3 GeV / cm3>¶
Methods Documentation
-
__call__
(radius)¶ Call evaluate method of derived classes.
-
integral
(rmin, rmax, **kwargs)¶ Integrate squared dark matter profile numerically.
\[F(r_{min}, r_{max}) = \int_{r_{min}}^{r_{max}}\rho(r)^2 dr\]- Parameters
- rmin, rmax
Quantity
Lower and upper bound of integration range.
- **kwargsdict
Keyword arguments passed to
integrate_spectrum()
- rmin, rmax
-
scale_to_local_density
()¶ Scale to local density.
-