[chronojump] Minor changes



commit 1ea813eb8e8702dfcaa8235be2400713646ea4fb
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sun Dec 30 13:02:07 2012 +0100

    Minor changes

 encoder/graph.R       |    5 +++--
 web/documents.html    |    9 +++++++++
 web/documents_es.html |    9 +++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 12d6e5e..98cd458 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -148,8 +148,8 @@ powerBars <- function(kinematics) {
 	meanSpeed <- mean(abs(kinematics$speedy))
 	maxSpeed <- max(abs(kinematics$speedy))
 	meanPower <- mean(abs(kinematics$power))
-	peakPower <- max(kinematics$power)
-	peakPowerT <- min(which(kinematics$power == peakPower))
+	peakPower <- max(abs(kinematics$power))
+	peakPowerT <- min(which(abs(kinematics$power) == peakPower))
 	pp_ppt <- peakPower / (peakPowerT/1000)	# ms->s
 	meanForce <- mean(abs(kinematics$force))
 	maxForce <- max(abs(kinematics$force))
@@ -888,6 +888,7 @@ print(paste("width",width));
 		}
 		#print(paf)
 		rownames(paf)=rownames(curves) #put correct rownames when there are inactive curves
+print("----------------------------")
 		print(paf)
 
 		if(analysis == "powerBars") {
diff --git a/web/documents.html b/web/documents.html
index a515a4a..969a6a7 100644
--- a/web/documents.html
+++ b/web/documents.html
@@ -142,6 +142,15 @@
                         <td><a id="hoverImage" href="http://www.tdx.cat/handle/10803/83302";><img src="images/checklist.png" alt="yes"></a></td>
                         </tr>
                         <tr>
+                        <th>Reliability of LCMJ with Chronojump (article)</th>
+                        <td>PDF</td>
+                        <td>2012</td>
+                        <td></td>
+                        <td><a id="hoverImage" href="http://www.kinsi.si/clanki.php?id=239";><img src="images/checklist.png" alt="yes"></a></td>
+                        <td></td>
+                        <td></td>
+                        </tr>
+                        <tr>
                         <th>Chronojump Manual</th>
                         <td>PDF</td>
                         <td>2004-11</td>
diff --git a/web/documents_es.html b/web/documents_es.html
index ef45b7b..48e2944 100644
--- a/web/documents_es.html
+++ b/web/documents_es.html
@@ -137,6 +137,15 @@
                         <td></td>
                         </tr>
                         <tr>
+                        <th>Fiabilidad del LCMJ con Chronojump (artÃculo)</th>
+                        <td>PDF</td>
+                        <td>2012</td>
+                        <td></td>
+                        <td><a id="hoverImage" href="http://www.kinsi.si/clanki.php?id=239";><img src="images/checklist.png" alt="yes"></a></td>
+                        <td></td>
+                        <td></td>
+                        </tr>
+                        <tr>
                         <th>Manual de Chronojump</th>
                         <td>PDF</td>
                         <td>2004-11</td>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]