villano-lab / nrCascadeSim

calculating the NR spectrum resulting from neutron-capture cascades.
MIT License
0 stars 1 forks source link

Allow histogram-generating `hist.py` library to handle text-based files structured like those output by `prune.py` script #97

Open nuclearGoblin opened 2 years ago

nuclearGoblin commented 2 years ago

I am submitting a feature request.

The feature I am requesting is for: hist.py, or a new script

I am requesting: A completely new feature

Ideas for implementation:

  1. Use the method variable in many of the library's functions to create an alternate process for csv-type files.
  2. Create a script that uses uproot to convert the output files

Other Information: This would improve our comparison with Geant4. Right now, we don't have a good way to process any multi-step events output by Geant4 for comparison.

(Tagged develop because the script in question is not on master as of yet)