galpy.df.quasiisothermaldf.meanlz

quasiisothermaldf.meanlz(R, z, nsigma=None, mc=True, nmc=10000, **kwargs)[source]

Calculate the mean angular momentum by marginalizing over velocity.

Parameters:
  • R (float or Quantity) – Radius at which to calculate this.

  • z (float or Quantity) – Height at which to calculate this.

  • nsigma (float, optional) – Number of sigma to integrate the velocities over.

  • mc (bool, optional) – If True, calculate using Monte Carlo integration.

  • nmc (int, optional) – If mc, use nmc samples.

  • **kwargs – scipy.integrate.tplquad kwargs epsabs and epsrel.

Returns:

Mean angular momentum.

Return type:

float

Notes

  • 2012-08-09 - Written - Bovy (IAS@MPIA)