galpy.potential.flattening

galpy.potential.flattening(Pot, R, z)

NAME:

flattening

PURPOSE:

calculate the potential flattening, defined as sqrt(|z/R F_R/F_z|)

INPUT:

Pot - Potential instance or list thereof

R - Galactocentric radius

z - height

OUTPUT:

flattening

HISTORY:

2012-09-13 - Written - Bovy (IAS)