bmad-sim / AtomicAndPhysicalConstants.jl

Julia package for handling particle identification in simulations.
MIT License
0 stars 1 forks source link

gyromagnetic_anomaly #34

Open DavidSagan opened 2 months ago

DavidSagan commented 2 months ago

Suggested names:

gyromagnetic_anomaly - For (g_spin-2)/2 g_spin - For 2*m * mu / (q * S) where m is the particle mass and mu is the magnetic moment. g_nuclear - For 2* m_p / (e * S) where m_p is the proton mass.

rot4te commented 2 months ago

the magnetic moment \mu here is not already defined for arbitrary particles in the package; should it be? I'm currently defining g_spin in terms of gyromagnetic_anomaly, which seems a little circular.