The BiManual program records data from two tablets, up to a certain number of samples.
The analysis of this involves, initially at least, reading in the file and determining the extent of each line segment. The line segments involve the subject scribbling on the tablet, each segment is when the line changes direction. The lines have a left<->right motion, and so the end of a line can be considered to be the last point prior to it changing direction in X. This same point is also the start of the next line. Note that the last line recorded is discarded, as it is likely to be incomplete.
Note that the data is not in a standard format, and so we can't use the normal methods of determining line start/end, nor can we use the normal code to load the files. The data files contain the data for both tablets. Initially we won't be dealing with any correlation between them, and so they will be processed seperatly.
Data that needs to be taken from this:
- For each line segment:
- Distance from start point to end point
- Path distance (difference from above gives 'wobblyness' indicator)
- Peak velocity
- For a collection of line segments, from one pass of the recording program:
- Mean start/end distance
- Mean path distance
- Mean peak velocity
Current Status:
Done
Location:
L:\Robin\bimanual\analyse\bim-analyse.pl
Other Notes:
The calculation functions will be generalised as much as possible to allow for them to be incorperated into other programs. This has lead to the ProcessLines.pm module.