galpy.potential.lindbladR¶
-
galpy.potential.
lindbladR
(Pot, OmegaP, m=2, **kwargs)¶ NAME:
lindbladRPURPOSE:
calculate the radius of a Lindblad resonanceINPUT:
Pot - Potential instance or list of such instances
OmegaP - pattern speed
- 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
OUTPUT:
radius of Linblad resonance, None if there is no resonanceHISTORY:
2011-10-09 - Written - Bovy (IAS)