Commit 0dd20e3f authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

fix stackmax saving, was broken after merge

parent 419fb998
......@@ -325,6 +325,11 @@ def scan(
*tr_stackmax.peaks(config.detector_threshold, tpeaksearch)) if
wmin <= tpeak and tpeak < wmax]) or ([], [])
tr_stackmax_indx = tr_stackmax.copy(data=False)
imaxs = num.argmax(frames, axis=0)
for (tpeak, apeak) in zip(tpeaks, apeaks):'detection: %s %g' % (
......@@ -368,6 +373,7 @@ def scan(
tr_stackmax.chop(wmin, wmax)
tr_stackmax_indx.chop(wmin, wmax)
if config.stackmax_path:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment