CPotentialBase¶
-
class
gala.potential.CPotentialBase¶ Bases:
gala.potential.PotentialBaseA 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.
-