galpy.potential.Potential.rhalf¶
-
Potential.
rhalf
(t=0.0, INF=inf)[source]¶ NAME:
rhalfPURPOSE:
calculate the half-mass 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:
half-mass radiusHISTORY:
2021-03-18 - Written - Bovy (UofT)