Systems
Potentials
OrbitalElements.dψMestel
— FunctiondψMestel(r[, R0, V0, epsilon])
the Mestel potential derivative.
Distribution functions
OrbitalElements.Miyamoto_DF
— FunctionMiyamoto_DF(E, L)
Miyamoto distribution function for Kuzmin-Toomre disc.
OrbitalElements.IsoDiscKal_DF
— FunctionIsoDiscKal_DF(E, L)
Kalnajs distribution function for isochrone disc.
OrbitalElements.IsoDiscPLB_ndDFdJ
— FunctionIsoDiscPLB_ndDFdJ(n1, n2, E, L, ndotOmega)
Kalnajs DF derivative w.r.t. the actions J.
OrbitalElements.ZangOuterTaperdL
— FunctionZang_outer_tapering_dL(L[, Rout, V0, mu])
Zang outer tapering derivative.
Changes of coordinates
OrbitalElements.Ω1circular
— FunctionΩ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)
OrbitalElements.EFromAE
— FunctionEFromAE(ψ,dψ,a,e,params)
energy as a function of (a,e) for a given potential ψ (and its derivatives)
OrbitalElements.ELFromAE
— FunctionELFromAE(ψ,dψ,a,e,params)
combined energy + angular momentum as a function of (a,e) for a given potenial ψ (and its derivatives)
OrbitalElements.ComputeActionsAE
— FunctionComputeActionsAE(ψ,dψ,a,e,params)
OrbitalElements.FrequenciesFromαβ
— FunctionFrequenciesFromαβ(α,β,Ω₀)
converts frequencies ratios to frequencies
OrbitalElements.Getϖ
— FunctionGetϖ(ω,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.
Getϖ(ω,ωmin,ωmax)
ϖ version with ωmin, ωmax
OrbitalElements.FindVbound
— FunctionFindVbound(n1,n2,dψ,d2ψ,Ω₀,rmin,rmax)
find any valid non- 0 or 1 v value at u=-1 or u=1
OrbitalElements.RcircFromΩ2circ
— FunctionRcircFromΩ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.
Isochrone specific functions
OrbitalElements.IsochroneβAE
— Functioncompute the dimensionless function for Omega2 from (a,e) (Fouvry 21 eq. G7)
Plummer specific functions
OrbitalElements.dΘRpRaPlummer
— Functionthe wrapped Theta derivative function
OrbitalElements.PlummerELFromSpSa
— Functiontranslate From (sp,sa) to (E,L)
Utility functions
OrbitalElements.NonAsciiHandle
— FunctionNonAsciiHandle(x)
convert some extra unicode characters to ascii
OrbitalElements.GetResLinesJL
— FunctionGetResLinesJL(ω,ψ,dψ,d2ψ,Kv,tabresonances)