galpy.df.quasiisothermaldf.meanjr

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

NAME:

meanjr

PURPOSE:

calculate the mean radial action by marginalizing over velocity

INPUT:

R - radius at which to calculate this (can be Quantity)

z - height at which to calculate this (can be Quantity)

OPTIONAL INPUT:

nsigma - number of sigma to integrate the velocities over

scipy.integrate.tplquad kwargs epsabs and epsrel

mc= if True, calculate using Monte Carlo integration

nmc= if mc, use nmc samples

OUTPUT:

meanjr

HISTORY:

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