galpy.potential.lindbladR¶
- galpy.potential.lindbladR(Pot, OmegaP, m=2, t=0.0, **kwargs)[source]¶
NAME:
lindbladR
PURPOSE:
calculate the radius of a Lindblad resonance
INPUT:
Pot - Potential instance or list of such instances
OmegaP - pattern speed (can be Quantity)
- m= order of the resonance (as in m(O-Op)=kappa (negative m for outer)
use m=’corotation’ for corotation
+scipy.optimize.brentq xtol,rtol,maxiter kwargs
t - time (optional; can be Quantity)
OUTPUT:
radius of Linblad resonance, None if there is no resonance
HISTORY:
2011-10-09 - Written - Bovy (IAS)