integrated with newRun_NNDy.py that is run by lyse and handles the halting of the execution of the script while the shot is running
integrated with newRun_NNDy.py that is run by lyse and handles the halting of the execution of the script while the shot is running