Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Heimann
lassie
Commits
428b3165
Commit
428b3165
authored
Apr 06, 2018
by
Marius Kriegerowski
Browse files
core: fix py3 for no detections
parent
17ed489b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core.py
View file @
428b3165
...
...
@@ -413,9 +413,9 @@ def search(
num
.
max
(
ydata_window
),
num
.
median
(
ydata_window
)))
tpeaks
,
apeaks
=
zip
(
*
[(
tpeak
,
apeak
)
for
(
tpeak
,
apeak
)
in
zip
(
tpeaks
,
apeaks
=
list
(
zip
(
*
[(
tpeak
,
apeak
)
for
(
tpeak
,
apeak
)
in
zip
(
*
tr_stackmax
.
peaks
(
config
.
detector_threshold
,
tpeaksearch
))
if
wmin
<=
tpeak
and
tpeak
<
wmax
])
or
([],
[])
wmin
<=
tpeak
and
tpeak
<
wmax
])
)
or
([],
[])
tr_stackmax_indx
=
tr_stackmax
.
copy
(
data
=
False
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment