galpy.potential.NFWPotential.rvir¶
-
NFWPotential.
rvir
(H=70.0, Om=0.3, t=0.0, overdens=200.0, wrtcrit=False, ro=None, vo=None, use_physical=False)[source]¶ NAME:
rvirPURPOSE:
calculate the virial radius for this density distributionINPUT:
H= (default: 70) Hubble constant in km/s/Mpc
Om= (default: 0.3) Omega matter
overdens= (200) overdensity which defines the virial radius
wrtcrit= (False) if True, the overdensity is wrt the critical density rather than the mean matter density
ro= distance scale in kpc or as Quantity (default: object-wide, which if not set is 8 kpc))
vo= velocity scale in km/s or as Quantity (default: object-wide, which if not set is 220 km/s))
OUTPUT:
virial radiusHISTORY:
2014-01-29 - Written - Bovy (IAS)