Systems

Potentials

Distribution functions

Changes of coordinates

OrbitalElements.Ω1circularFunction
Ω1circular(dψ,d2ψ,a)

radial frequency for circular orbits, from the epicyclic approximation a is the semi-major axis (equivalent to r for a circular orbit)

source
OrbitalElements.ELFromAEFunction
ELFromAE(ψ,dψ,a,e,params)

combined energy + angular momentum as a function of (a,e) for a given potenial ψ (and its derivatives)

source
OrbitalElements.GetϖFunction
Getϖ(ω,n1,n2,dψ,d2ψ,params)

translate a complex frequency into a rescaled frequency. maps $\omega \to [-1,1]$

Fouvry & Prunet B3

@ASSUMPTION: - ω is dimensionless, that is, rescaled by Ω₀ already.

source
Getϖ(ω,ωmin,ωmax)

ϖ version with ωmin, ωmax

source
OrbitalElements.RcircFromΩ2circFunction
RcircFromΩ2circ(Ω₂,dψ,d2ψ,rmin,rmax[,tolx,tolf])

perform backwards mapping from Omega_2 for a circular orbit to radius

@ASSUMPTIONS: - Ω2circular is a decreasing function of radius - d2ψ used for value at 0.

source

Isochrone specific functions

Plummer specific functions

Utility functions