galpy.potential.Potential.rhalf¶

Potential.
rhalf
(t=0.0, INF=inf)[source]¶ NAME:
rhalfPURPOSE:
calculate the halfmass radius, the radius of the spherical shell that contains half the total massINPUT:
t= (0.) time (optional; can be Quantity)
INF= (numpy.inf) radius at which the total mass is calculated (internal units, just set this to something very large)
OUTPUT:
halfmass radiusHISTORY:
20210318  Written  Bovy (UofT)