astropy:docs

sigmasq

halotools.jeans.sigmasq(rr, nsat, massprof, rr_compute)[source] [edit on github]

3d velocity dispersion profile of a tracer population, computed by integrating dsigmasq:

\sigma^2(r|M) = \frac{1}{N_{sat}(r|M)}\int_{r}^{\infty}dr'\frac{d\sigma^{2}(r'|M)}{dr'}

Parameters:

rr : array_like

An array with radii at which the the number density distribution of satellites N_{sat}(r) and the mass profile M(<r) are calculated

nsat : array_like

Number density of satellites at the input radii rr

massprof : array_like

Mass within a given radius r

rr_compute : array_like

Radii at which sigma^2 should be computed

Returns:

res_arr : array_like

\sigma^{2} (rr_compute | nsat, massprof), returned in units of (km/s)^2

Page Contents