icecube / FIRESONG

FIRst Extragalactic Simulation Of Neutrino and Gamma-ray
Other
18 stars 8 forks source link

Seperate function call #1

Closed renereimann closed 6 years ago

renereimann commented 6 years ago

I seperated the actual simulation done by Firesong.py in a function calles firesong_simulation. In case the script is called from command line it will now run the main function which contains the argparse and a call to firesong_simulation. Added a wrapper function to call firesong_simulation with arguments by hand. Added init,py to make it an importable package. Thus we can now import the functions and call firesong_simulation from other scripts.