Previous topic

galpy.df.quasiisothermaldf.meanjr

Next topic

galpy.df.quasiisothermaldf.meanlz

This Page

galpy.df.quasiisothermaldf.meanjz

quasiisothermaldf.meanjz(R, z, nsigma=None, mc=True, nmc=10000, **kwargs)
NAME:
meanjz
PURPOSE:
calculate the mean vertical action by marginalizing over velocity

INPUT:

R - radius at which to calculate this

z - height at which to calculate this

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:
meanjz
HISTORY:
2012-08-09 - Written - Bovy (IAS@MPIA)