391c25ef93
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.
34 lines
393 B
JSON
34 lines
393 B
JSON
{
|
|
"muon": {
|
|
"Z": 1,
|
|
"A": 0.1134289259,
|
|
"rho": 0,
|
|
"Elast": 0,
|
|
"ICRU": [],
|
|
"IAEA": []
|
|
},
|
|
"Li-8": {
|
|
"Z": 3,
|
|
"A": 8.02248624,
|
|
"rho": 0,
|
|
"Elast": 0,
|
|
"ICRU": [],
|
|
"IAEA": []
|
|
},
|
|
"B-12": {
|
|
"Z": 5,
|
|
"A": 12.0143526,
|
|
"rho": 0,
|
|
"Elast": 0,
|
|
"ICRU": [],
|
|
"IAEA": []
|
|
},
|
|
"Mg-31": {
|
|
"Z": 12,
|
|
"A": 30.996648,
|
|
"rho": 0,
|
|
"Elast": 0,
|
|
"ICRU": [],
|
|
"IAEA": []
|
|
}
|
|
} |