Density
density
¶
VikhlininModel
¶
Bases: Module
Density model which use a modified Vikhlinin functional form, with gamma fixed to 3. See Ghirardini et al. 2019
Source code in src/density.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
__call__(r)
¶
Compute the density function for a given radius.
\[n_e^2(x)= n_0^2 \frac{(\frac{x}{r_c})^{-\alpha}}{(1 + (\frac{x}{r_c})^2)^{3\beta -\alpha /2}} \frac{1}{(1 + (\frac{x}{r_s})^{\gamma})^{\frac{\epsilon}{\gamma}}}\]
Parameters:
Name | Type | Description | Default |
---|---|---|---|
r
|
array
|
Radius to compute the density function in R500 units |
required |
Returns:
Type | Description |
---|---|
array
|
Density function evaluated at the given radius in cm\(^{-6}\) |
Source code in src/density.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|