[chronojump] graph.R Added workflow explanation



commit 68b64f1c191d123d9b91ab42fc75e92441f495fc
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jul 8 11:45:57 2013 +0200

    graph.R Added workflow explanation

 encoder/graph.R |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/encoder/graph.R b/encoder/graph.R
index 67533f1..adee8d2 100644
--- a/encoder/graph.R
+++ b/encoder/graph.R
@@ -19,6 +19,26 @@
 # 
 
 
+
+#----------------------------------
+#Explanation of the code. Workflow:
+#----------------------------------
+#Define some variables, read options file and define more variables
+#at end of file: call to loadLibraries(OperatingSystem)
+#at end of file: call to doProcess(options)
+#doProcess:
+  #assign variables reading options
+  #process curves:
+    #if(! singleFile) reads "chronojump-encoder-graph-input-multi.csv", then read each file and define 
curves using files
+    #if(singleFile) define curves using findCurves function
+  #if analysis is single: paint 
+  #if analysis is side: kinematicRanges will call kinematicsF to know common axes (max and mins) and the 
call to paint 
+  #using curves and powerBars, paf table will be created. This will be used always, because writeCurves (on 
a file) is always true
+  #if(Analysis=="exportCSV") data will be exported to CSV file
+#----------------------------------
+
+
+
 #concentric, eccentric-concentric, repetitions of eccentric-concentric
 #currently only used "c" and "ec". no need of ec-rep because c and ec are repetitive
 #"ecS" is like ec but eccentric and concentric phases are separated, used in findCurves, this is good for 
treeview to know power... on the 2 phases


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