galpy.df.quasiisothermaldf.sampleV_interpolate

quasiisothermaldf.sampleV_interpolate(R, z, R_pixel, z_pixel, num_std=3, R_min=None, R_max=None, z_max=None, **kwargs)[source]

Sample radial, azimuthal, and vertical velocity at R,z using interpolation.

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

  • z (numpy.ndarray or Quantity) – Height.

  • R_pixel (float) – The pixel size for creating the grid for interpolation (in natural units).

  • z_pixel (float) – The pixel size for creating the grid for interpolation (in natural units).

  • num_std (float, optional) – Number of standard deviation to be considered outliers sampled separately from interpolation.

  • R_min (float, optional) – Minimum R value for the grid.

  • R_max (float, optional) – Maximum R value for the grid.

  • z_max (float, optional) – Maximum z value for the grid.

Returns:

A numpy array containing the sampled velocity, (vR, vT, vz), where each row corresponds to the row of (R,z).

Return type:

numpy.ndarray

Notes

  • 2018-08-10 - Written - Samuel Wong (University of Toronto)