Commit Graph

2 Commits

Author SHA1 Message Date
ext-mcfadd_r fc754e2a31 update the revised stopping power coefficients for O, Si, and Nb
- the revised values use data from version 2023-03 of the IAEA's stopping power database, which includes error estimates that were absent from earlier versions (i.e., versions 2021-12 and earlier).
2024-08-12 16:58:33 -07:00
ext-mcfadd_r 391c25ef93 more stopping power coefficient options
This patch modularizes the code responsible for selecting the stopping power coefficients. Specifically, it:

- moves the data in `elemPars` to seperate JSON files in the `data/` directory. This makes it easier to modify the existing data or add new data sources. Note that this refactoring does not alter the previous functionality - the contents of each file are simply read and deep-merged into an initially empty `elemPars` object.
- adds the original Varelas-Biersack parameters from Anderson & Ziegler (1977).
- updates the "Other Parameters" tab in the GUI for easy toggling between the different stopping power coefficient data sources.
2024-08-12 16:24:42 -07:00