MCEq is a numerical tool for solving cascade equations that model the evolution of particle densities as they traverse gaseous or dense media. Its primary application is simulating particle cascades in the Earth's atmosphere, where particles are tracked as average densities across discrete energy bins. MCEq outputs differential energy spectra and total particle counts, supporting a range of models and parameterizations for particle interactions and atmospheric density profiles.
Very early releases, previously maintained under the 'master' and 'development' branches, are archived and available in the MCEq_classic repository.
The documentation contains installation instructions, a tutorial and more.
This version is physically identical to the 1.2.X release, but features a modernized build system and now provides wheels up to Python 3.13. While this is primarily a technical update, core development has resumed and new features will be merged more frequently.
Please consult the CHANGELOG and the dedicated doc page.
If you are using this code in your scientific work, please cite the code AND the physical models. A complete list of references can be found in the Citations section of the docs.
Anatoli Fedynitch
Code released under the BSD 3-clause license (see LICENSE).