-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetBBmeta.m
50 lines (44 loc) · 2.4 KB
/
getBBmeta.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
function bbmeta = getBBmeta()
%getBBmeta: Return a struct containing Body Builder metadata
% Prasanna Sritharan, April 2018
%
% --------------------------------------------------------------------
% Copyright (C) 2018 Prasanna Sritharan
% Copyright (C) 2018 La Trobe University
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program. If not, see <http://www.gnu.org/licenses/>.
% --------------------------------------------------------------------
bbmeta.BBGROUPS = {'ANGLES','MOMENTS','POWERS','GRFS'};
bbmeta.ANGLES = {'AnkleAngles','KneeAngles','HipAngles','PelvisAngles','TrunkAngles','TrunkLABAngles'};
bbmeta.MOMENTS = {'AnkleMomentFOOT','AnkleMomentDTIB','AnkleMomentROT','KneeMomentPTIB','KneeMomentFEM','KneeMomentROT','HipMomentFEM','HipMomentPEL','HipMomentROT'};
bbmeta.POWERS = {'AnklePower','HipPower','KneePower'};
bbmeta.GRFS = {'GRF'};
bbmeta.TIMES = {'absolute','relative'};
bbmeta.fpvectors = {'CofP','Vector'};
bbmeta.units.ANGLES = 'deg';
bbmeta.units.MOMENTS = 'Nmm';
bbmeta.units.POWERS = 'mW';
bbmeta.units.GRFS = 'N';
bbmeta.dirs = {'X','Y','Z'};
bbmeta.limbs = {'R','L','C'};
bbmeta.cohorts = {'AFF','CON'};
bbmeta.conditions = {'SYM','ASYM','CON'};
bbmeta.SUBJECTFIELDS = {'cohort','affected','mass','height','kinematicsonly','speed','mean','sd'};
% analyses
bbmeta.BBANALYSES = {'RotWork','RotImpulse','GRFImpulse','AngleEventVals','MomentEventVals','PowerEventVals','GRFEventVals'};
bbmeta.ROTIMPULSE = {'AnkleRotImpulseFOOT','AnkleRotImpulseDTIB','AnkleRotImpulseROT','KneeRotImpulsePTIB','KneeRotImpulseFEM','KneeRotImpulseROT','HipRotImpulseFEM','HipRotImpulsePEL','HipRotImpulseROT'};
bbmeta.ROTWORK = {'AnkleRotWork','HipRotWork','KneeRotWork'};
bbmeta.units.ROTIMPULSE = 'Nms';
bbmeta.units.ROTWORK = 'Nm';
end