CPotentialBase¶
-
class
gala.potential.
CPotentialBase
¶ Bases:
gala.potential.PotentialBase
A baseclass for defining gravitational potentials implemented in C.
Methods Summary
mass_enclosed
(q, t)Estimate the mass enclosed within the given position by assuming the potential is spherical. Methods Documentation
-
mass_enclosed
(q, t)¶ Estimate the mass enclosed within the given position by assuming the potential is spherical. This is not so good!
Parameters: q : array_like, numeric
Position to compute the mass enclosed.
-