Browse Source

linting after merge

master
Holger Frey 6 years ago
parent
commit
37b1c56206
  1. 4
      mtor/__init__.py
  2. 5
      mtor/dataproc.py

4
mtor/__init__.py

@ -12,7 +12,7 @@ warnings.filterwarnings("ignore") @@ -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(): @@ -20,4 +20,4 @@ def run():
def run_data():
cw = cached_data_workflow("mtor-bilder")
cached_data_workflow("mtor-bilder")

5
mtor/dataproc.py

@ -140,7 +140,10 @@ def find_guard_threshold(data_frame, parameters): @@ -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(
(

Loading…
Cancel
Save