halomod.profiles.Profile.virial_velocity

Profile.virial_velocity(m=None, r=None)[source]

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.