halomod.profiles.HernquistInf.virial_velocity¶
- HernquistInf.virial_velocity(m=None, r=None)¶
Return the virial velocity for a halo of mass
m
.Either m or r must be passed. If both are passed,
m
is preferentially used.- Parameters
m (array_like, optional) – Masses of halos.
r (array_like, optional) – Radii of halos.