
“The wave dispersion solver for cold plasma dispersion”
with DIFFUSION COEFFICIENTS
https://github.com/RB-ENVIRONMENT/PIRAN
https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2025EA004479
https://phys.org/news/2026-04-source-python-based-software-boosts.html
New open-source Python-based software boosts space-weather modeling
by University of Birmingham / April 16, 2026
“University of Birmingham experts have created open-source computer software that helps scientists understand how fast-moving particles behave when they interact with electromagnetic waves in space. Understanding how these particles behave in Earth’s radiation belts is crucial because high-energy electrons can damage satellites, while radiation belt dynamics affect space weather forecasts. Better models help protect astronauts, power systems, and communications infrastructure. Publishing their findings in Earth and Space Science, the researchers describe these changes using mathematical tools known as “diffusion coefficients.”
These are extremely hard to calculate because they capture the average effect of countless interactions of particles and waves in complex systems, requiring sophisticated physics and intensive numerical computation. Different research groups have created their own complex computer codes, but these are often difficult to use or unavailable beyond that specific research group. Working with counterparts at Los Alamos National Laboratory, U.S., the University of Exeter and Northumbria University, the scientists have created PIRAN (Particles ResonANce)—a free, open-source, Python-based program that anyone can use.
PIRAN makes these detailed calculations easier to perform, and accessible to the broader scientific community. It is designed so other scientists can expand it—adding new wave types, additional particle species, or new physics. This is the first time code like this has been fully accessible. Lead author Dr. Oliver Allanson, from the University of Birmingham, said, “These calculations are essential for understanding how charged particles behave in Earth’s radiation belts, yet until now they required specialist, hard-to-access software. This open-source PIRAN code gives the international space science community, for the first time, a fully transparent and accessible Python-based tool for calculating relativistic diffusion coefficients using modern methods. “By making these capabilities openly available in Python, PIRAN removes a major barrier for researchers and enables wider, more collaborative development of future space weather models.”
The software produces results that match those from classic, trusted scientific codes. PIRAN is the first fully open-source code that includes both major calculation methods. Entirely written in Python, the code is easy to read and modify—allowing it to be expanded and improved by the community. At present, the code supports fully tested calculations for electron diffusion coefficients based on whistler-mode waves in a fully ionized proton-electron cold plasma. Future developments could include other wave modes and other plasma compositions—enabling improved radiation-belt modeling, space-weather prediction, and comparative magnetospheric studies across planetary systems.”
Publication details
Oliver Allanson et al, Diffusion Coefficients for Resonant Relativistic Wave‐Particle Interactions Using the PIRAN Code, Earth and Space Science (2026). DOI: 10.1029/2025ea004479
PREVIOUSLY
SOLAR SUPERFLARES
https://spectrevision.net/2023/05/10/solar-superflares/
IONOSPHERE MAPPING
https://spectrevision.net/2024/12/19/ionosphere-mapping/
SOLAR PARTICLE STORMS
https://spectrevision.net/2025/05/15/solar-particle-storms/
