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.
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.