From 476e93c6da9d34553da7088c474a8563498e530e Mon Sep 17 00:00:00 2001 From: x03daop Date: Sat, 6 Aug 2016 11:15:38 +0200 Subject: [PATCH] Script execution --- script/SchofieldScan.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/SchofieldScan.py b/script/SchofieldScan.py index 11a9550a..58f248fa 100644 --- a/script/SchofieldScan.py +++ b/script/SchofieldScan.py @@ -129,11 +129,11 @@ energy_scale_array = [] azi_range = [-45.] angle_range = [-9.2] -measure_stuff() +#measure_stuff() toc_whole = time.time() tictoc = round(toc_whole-tic_whole) print ' ** End O 1s PhD **' -print ' ** time taken was ', floor(tictoc/3600), ' hours and ', round(tictoc-floor(tictoc/3600)*3600), ' minutes.' +print ' ** time taken was ', math.floor(tictoc/3600), ' hours and ', round(tictoc-floor(tictoc/3600)*3600), ' minutes.' print ' ######################################################' @@ -157,7 +157,7 @@ azi_range = [-90.] measure_stuff() toc_whole = time.time() tictoc = round(toc_whole-tic_whole) -print ' ** time taken was ', floor(tictoc/3600), ' hours and ', round(tictoc-floor(tictoc/3600)*3600), ' minutes.' +print ' ** time taken was ', math.floor(tictoc/3600), ' hours and ', round(tictoc-floor(tictoc/3600)*3600), ' minutes.' print ' ** End Si 2p PhD **' print ' ######################################################' @@ -181,7 +181,7 @@ azi_range = [-90.] measure_stuff() toc_whole = time.time() tictoc = round(toc_whole-tic_whole) -print ' ** time taken was ', floor(tictoc/3600), ' hours and ', round(tictoc-floor(tictoc/3600)*3600), ' minutes.' +print ' ** time taken was ', math.floor(tictoc/3600), ' hours and ', round(tictoc-floor(tictoc/3600)*3600), ' minutes.' print ' ** End C 1s PhD **' print ' ######################################################' #toc = time.time()