diff --git a/mtor/__init__.py b/mtor/__init__.py index 4f47080..5587d5c 100644 --- a/mtor/__init__.py +++ b/mtor/__init__.py @@ -12,7 +12,7 @@ warnings.filterwarnings("ignore") def run(): - # settings = prescan_workflow("mtor-bilder", 50, 910, 300, 660) + # pw = prescan_workflow("mtor-bilder", 50, 910, 300, 660) pw = prescan_workflow("mtor-bilder", 50, 725 + 150, 300, 725) iw = image_workflow(pw.parameters) dw = data_workflow(iw.data, iw.parameters) @@ -20,4 +20,4 @@ def run(): def run_data(): - cw = cached_data_workflow("mtor-bilder") + cached_data_workflow("mtor-bilder") diff --git a/mtor/dataproc.py b/mtor/dataproc.py index 7624b5c..834abee 100644 --- a/mtor/dataproc.py +++ b/mtor/dataproc.py @@ -140,7 +140,10 @@ def find_guard_threshold(data_frame, parameters): pyplot.clf() peakplot_iloc( - pandas.Series(guard_edges), pandas.Series(guard_counts_filtered), [first_minima_position], "minima" + pandas.Series(guard_edges), + pandas.Series(guard_counts_filtered), + [first_minima_position], + "minima", ) pyplot.title( (