From 96b7e22b601e4c3ba048a21fb6da44b6f5ec4bd5 Mon Sep 17 00:00:00 2001 From: Martin Dobiasch <martin.dobiasch@univie.ac.at> Date: Tue, 28 Jan 2020 23:35:07 +0100 Subject: [PATCH] Add new file --- test.asciidoc | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 test.asciidoc diff --git a/test.asciidoc b/test.asciidoc new file mode 100644 index 0000000..99398ab --- /dev/null +++ b/test.asciidoc @@ -0,0 +1,58 @@ += Calculating the Jump Height + +Computing the jump height will be done in three steps: + +* Computing the centres of mass of the body segments +* Computing the center of pressure (CoP) +* Determining the jump height + +== First Steps +[IMPORTANT] +.Prerequesits +==== +In this tutorial the digitisation of the videos has already been done. You can use the sample data provided in folder `XXXX` +==== + +Some words about how the video is digitised using Kinovea. + +== Body Segments +For each segment ... calculate X coordinate for each time point using `data[x_segment]= ...`. + +.tutorial.in +[source] +---- +data[x_foot]= data[x_ankle] + 0.5 * (data[x_toe] - data[x_ankle]) +data[y_foot]= data[y_ankle] + 0.5 * (data[y_toe] - data[y_ankle]) +---- + +Some explanation of the formula. + +The complete code for all our segments is now: + +.formulas.txt +[source] +---- +include::formulas_1_segments.txt +---- + +== Testing the formulas. +It is now time that we test our formulas by writing the description of our experiment. +For now we will tell the calculator to evaluate our formulas. +Doing so we can see whether we have made any mistakes. + +.experiment.yaml +[source,yaml] +---- +# define the steps to be performed in the experiment +steps: + - parse formulas.txt +---- + +* The first is a comment and will be ignored +* The second line tells the calculator that we will now specify the steps to be performed in our experiment +* The third line tells the calculator to parse the file formulas.txt + +Some things to remember when writting an `experiment.yaml` file + +* `steps` needs to be followed by a colon +* Ident the lines after steps with a space or a tab -- GitLab