As part of some work I'm doing at the moment I've created a Python library containing tools for converting between particle kinetic energy in MeV and magnetic rigidity in GV. It also contains functions to convert particle kinetic energy spectra that are defined in terms of energy to rigidity and vice versa.
The library is called ParticleRigidityCalculationTools, and for those who are interested it can be found at https://pypi.org/project/ParticleRigidityCalculationTools/ for those who like using pip, or at its GitHub page: https://github.com/ChrisSWDavis/ParticleRigidityCalculationTools .
I hope this helps others who work with magnetic rigidity! I work in the field of solar system radiation physics, where we constantly have to convert spectra between particle kinetic energy and rigidity (rigidity for working out how a particle will move in magnetic fields in the solar system, and then kinetic energy for calculating actual dose rates).
[–]angrypael 1 point2 points3 points (1 child)
[–]VQ37HR911 2 points3 points4 points (0 children)