galpy.df.quasiisothermaldf.pvTvz

quasiisothermaldf.pvTvz(vT, vz, R, z, gl=True, ngl=20, nsigma=4.0)[source]

Calculate the marginalized (vT,vz) probability at this location (NOT normalized by the density).

Parameters:
  • vT (float or Quantity) – Azimuthal velocity.

  • vz (float or Quantity) – Vertical velocity.

  • R (float or Quantity) – Radius.

  • z (float or Quantity) – Height.

  • gl (bool, optional) – If True, use Gauss-Legendre integration.

  • ngl (int, optional) – If gl, use ngl-th order Gauss-Legendre integration for each dimension.

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

Returns:

p(vT,vz,R,z).

Return type:

float or Quantity

Notes

  • 2012-12-22 - Written - Bovy (IAS)

  • 2018-01-12 - Added Gauss-Legendre integration prefactor nsigma/2 - Trick (MPA)