Previous topic

galpy.potential.omegac

Next topic

galpy.potential.plotEscapecurve

This Page

galpy.potential.plotDensities

galpy.potential.plotDensities(Pot, rmin=0.0, rmax=1.5, nrs=21, zmin=-0.5, zmax=0.5, nzs=21, ncontours=21, savefilename=None, aspect=None, log=False)
NAME:
plotDensities
PURPOSE:
plot the density a set of potentials
INPUT:

Pot - Potential or list of Potential instances

rmin - minimum R

rmax - maximum R

nrs - grid in R

zmin - minimum z

zmax - maximum z

nzs - grid in z

ncontours - number of contours

savefilename - save to or restore from this savefile (pickle)

log= if True, plot the log density

OUTPUT:
plot to output device
HISTORY:
2013-07-05 - Written - Bovy (IAS)