galpy.df.diskdf.sampleVRVT

diskdf.sampleVRVT(R, n=1, nsigma=None, target=True)[source]

Sample a radial and azimuthal velocity at R

Parameters:
  • R (float or Quantity) – Galactocentric distance.

  • n (int, optional) – Number of distances to sample.

  • nsigma (float, optional) – Number of sigma to rejection-sample on.

  • target (bool, optional) – If True, sample using the ‘target’ sigma_R rather than the actual sigma_R (default=True).

Returns:

List of samples.

Return type:

list

Notes

  • 2011-03-24 - Written - Bovy (NYU)