The following commit has been merged in the master branch:
commit 558282eb99523dc743c8503a873a908991733741
Author: Andrei Zavada <[email protected]>
Date: Mon Apr 22 23:03:28 2013 +0300
correctly apply artifact markings (regression after rel-ts work)
diff --git a/src/ui/sf/channel.cc b/src/ui/sf/channel.cc
index e778353..914d578 100644
--- a/src/ui/sf/channel.cc
+++ b/src/ui/sf/channel.cc
@@ -390,7 +390,7 @@ detect_artifacts( const metrics::mc::SArtifactDetectionPP&
P)
metrics::mc::detect_artifacts( signal_original, samplerate(),
P);
for ( size_t p = 0; p < marked.size(); ++p )
artifacts.mark_artifact(
- marked[p] * P.scope * samplerate(), (marked[p]+1) *
P.scope * samplerate());
+ marked[p] * P.scope, (marked[p]+1) * P.scope);
calculate_dirty_percent();
get_signal_filtered();
--
Sleep experiment manager
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit