Skip to content
Snippets Groups Projects
Commit d35ceb34 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

bugfix

Former-commit-id: 1192c4f66a536723519b35356c72149a5714d28c
parent cc8a10c7
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ class picker(ProcessABC): ...@@ -106,7 +106,7 @@ class picker(ProcessABC):
): ):
threshold_asint = _as_int(threshold, signals.shape[1]) threshold_asint = _as_int(threshold, signals.shape[1])
case_mgr = { case_mgr = {
"present": signals.notna().sum(axis=1) > threshold_asint, "present": signals.apply(max_ntps, axis=1) > threshold_asint,
"nonstoply_present": signals.apply(max_nonstop_ntps, axis=1) "nonstoply_present": signals.apply(max_nonstop_ntps, axis=1)
> threshold_asint, > threshold_asint,
"quantile": [np.quantile(signals.values[signals.notna()], threshold)], "quantile": [np.quantile(signals.values[signals.notna()], threshold)],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment