Solid-body rotation wrapper potential

class galpy.potential.SolidBodyRotationWrapperPotential(amp=1.0, pot=None, omega=1.0, pa=0.0, ro=None, vo=None)[source]

Potential wrapper class that implements solid-body rotation around the z-axis. Can be used to make a bar or other perturbation rotate. The potential is rotated by replacing

\[\phi \rightarrow \phi + \Omega \times t + \mathrm{pa}\]

with \(\Omega\) the fixed pattern speed and \(\mathrm{pa}\) the position angle at \(t=0\).

__init__(amp=1.0, pot=None, omega=1.0, pa=0.0, ro=None, vo=None)[source]




initialize a SolidBodyRotationWrapper Potential


amp - amplitude to be applied to the potential (default: 1.)

pot - Potential instance or list thereof; this potential is made to rotate around the z axis by the wrapper

omega= (1.) the pattern speed (can be a Quantity)

pa= (0.) the position angle (can be a Quantity)




2017-08-22 - Started - Bovy (UofT)