data = KINEMAT_DATA(sdata,data,Pelvis,Thigh,Shank,Foot,sequence,test) computes lower-limb (ankle, knee, hip) joint kinematics ARGUMENTS sdata ... zoo struct representing static trial data ... zoo struct representing dynamic trial Pelvis ... cell array of markers (min 3) defining pelvis segment Thigh ... cell array of markers (min 3) defining Thigh segment Shank ... cell array of markers (min 3) defining Shank segment Foot ... cell array of markers (min 3) defining Foot segment sequence ... cardan sequence to follow. Default 'yxz' test ... Compare results against PiG computations (boolean). Requires fully processed data file. Default false RETURNS data ... zoo struct with lowelimb kinematics appended as 'R/L' Ankle, Knee, Hip 'Kinemat' NOTES - Code based on 'cardan.m' part of Reinschmidt and Van den Bogert 'kinemat' toolbox: http://isbweb.org/software/movanal/kinemat/ - For the purposes of comparison with PiG, a right side kinematics offset is added based on PiG static trial. Otherwise, static pose is assumed to have 0 deg in all angles