SphericalNFWPotential

class gala.potential.SphericalNFWPotential(v_c, r_s, units)

Bases: gala.potential.CPotentialBase

Spherical NFW potential. Separate from the triaxial potential below to optimize for speed. Much faster than computing the triaxial case.

\[\Phi(r) = -\frac{v_c^2}{\sqrt{\ln 2 - \frac{1}{2}}} \frac{\ln(1 + r/r_s)}{r/r_s}\]
Parameters:

v_c : numeric

Circular velocity at the scale radius.

r_s : numeric

Scale radius.

units : UnitSystem (optional)

Set of non-reducable units that specify (at minimum) the length, mass, time, and angle units.