Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.

PyPI Documentation Build Status Azure DevOps releases

MCEq - Matrix cascade equations

MCEq is a tool to numerically solve cascade equations that describe the evolution of particle densities as they propagate through a gaseous or dense medium. The main application are particle cascades in the Earth's atmosphere. Particles are represented by average densities on discrete energy bins. The results are differential energy spectra or total particle numbers. Various models/parameterizations for particle interactions and atmospheric density profiles are packaged with the code.

This is a new version of the code and may break compatibility with the previous versions. The old versions known as 'master' and 'development' branch are deprecated and located in the MCEq_classic repository.


The documentation contains installation instructions, a tutorial and more.

Version 1.2

This is a significant update and some of the results. Please consult the CHANGELOG and the dedicated doc page.

Please cite our work

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


Hans Dembinski

Copyright and license

Code released under the BSD 3-clause license (see LICENSE).