[chronojump] Changed fully string threashold from 800 to 1000
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Changed fully string threashold from 800 to 1000
- Date: Fri, 5 Aug 2016 09:05:09 +0000 (UTC)
commit dc6f91ddc780a6bc776d354f8cb270c2f866f4b6
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Aug 5 10:59:54 2016 +0200
Changed fully string threashold from 800 to 1000
encoder/util.R | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/encoder/util.R b/encoder/util.R
index 5a35009..22c991f 100644
--- a/encoder/util.R
+++ b/encoder/util.R
@@ -1186,8 +1186,8 @@ fixInertialSignalIfNotFullyExtended <- function(signal, saveFile, specialDataFil
par(mfrow=c(1,1))
}
- #define new signal only if the error in extended string is more than 4 revolutions
- if(abs(meanByExtrema) > 800) {
+ #define new signal only if the error in extended string is more than 5 revolutions
+ if(abs(meanByExtrema) > 1000) {
#write(signal, file="/tmp/old.txt", ncolumns=length(signal), sep=", ")
signal <- signal[angleCorrectedCrossZero:length(signal)]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]