galpy.potential.Potential.flattening

Potential.flattening(R, z, t=0.0)[source]

NAME:

flattening

PURPOSE:

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

INPUT:

R - Galactocentric radius (can be Quantity)

z - height (can be Quantity)

t - time (optional; can be Quantity)

OUTPUT:

flattening

HISTORY:

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