DataMedSci / pymchelper

Python toolkit for SHIELD-HIT12A and FLUKA
http://datamedsci.github.io/pymchelper/
15 stars 7 forks source link

Fix TOPAS reader #687

Open grzanka opened 9 months ago

grzanka commented 9 months ago

It may happen that the TOPAS output contains result only for Sum + StandardDeviation, instead of Mean+StandardDeviation. Current version of TOPAS reader assumes that the only output suitable for reading is with Mean and StdDev. Then Mean is assigned to data_raw and StdDev to data_error. That means that many useful output files won't be digested.

Here I propose a different approach - each of the results will end up in a separate page in the estimator. There will be one page for Mean (data_raw == mean) and one page for standard deviation (data_raw == stddev)