StonePotential¶
-
class
gala.potential.
StonePotential
(m, r_c, r_h, units)¶ Bases:
gala.potential.CPotentialBase
Stone potential from Stone & Ostriker (2015).
\[\Phi(r) = -\frac{2 G M}{\pi(r_h - r_c)}\left[ \frac{\arctan(r/r_h)}{r/r_h} - \frac{\arctan(r/r_c)}{r/r_c} + \frac{1}{2}\ln\left(\frac{r^2+r_h^2}{r^2+r_c^2}\right)\right]\]Parameters: m_tot : numeric
Total mass.
r_c : numeric
Core radius.
r_h : numeric
Halo radius.
units :
UnitSystem
(optional)Set of non-reducable units that specify (at minimum) the length, mass, time, and angle units.