joheinze / PriNCe

Propagation including Nuclear Cascade equations
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Cleanup of prince.decays needed #9

Open joheinze opened 4 years ago

joheinze commented 4 years ago

The file decays.py is currently rather messy. It contains a long list of individual decay functions, with hard coded particleIDs. The structure and clarity can probably be improved.

There are also a few TODO comments, so code. These point to cases, where the decay function could be integrated analytically to improve performance.

afedynitch commented 4 years ago

see issue #8