HernquistPotential

class gala.potential.HernquistPotential(m, c, units)

Bases: gala.potential.CPotentialBase

Hernquist potential for a spheroid.

\[\Phi(r) = -\frac{G M}{r + c}\]

See: http://adsabs.harvard.edu/abs/1990ApJ...356..359H

Parameters:

m : numeric

Mass.

c : numeric

Core concentration.

units : UnitSystem (optional)

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