SNEWS2 / snewpdag

SNEWS2 alert calculations
BSD 3-Clause "New" or "Revised" License
2 stars 13 forks source link

Running trials on python command line #36

Closed tsengj10 closed 3 years ago

tsengj10 commented 3 years ago

This pull request includes snewpdag/trials/SimpleTrials, which has a method trials() for running MC trials from within python. It duplicates the functionality of piping Simple.py output into the snewpdag module, but may be easier to use within systems like Jupyter since you don't need the unix shell to mediate between them.