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]

NAME:

sampleV_interpolate

PURPOSE:

Given an array of R and z coordinates of stars, return the positions and their radial, azimuthal, and vertical velocity.

INPUT:

R - array of Galactocentric distance (can be Quantity)

z - array of height (can be Quantity)

R_pixel, z_pixel= the pixel size for creating the grid for

interpolation (in natural unit)

num_std= number of standard deviation to be considered outliers

sampled separately from interpolation

R_min, R_max, z_max= optional edges of the grid

OUTPUT:

coord_v= a numpy array containing the sampled velocity, (vR, vT, vz),

where each row correspond to the row of (R,z)

HISTORY:

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