% Notes:
% AM has LGAS on chan 3. EM has LGAS on chan 2, MVAS on chan 6, top
% GMAX on chan 13. AD has LGAS on chan 3- check 11,12. DS has LGAS
% on chan 4, MVAS on chan 6.

%if matlabpool('size') == 0; matlabpool; end;

%clear muscles;
%muscles.SOL  = 1;  muscles.TA   = 2; muscles.GAS  = 4;
%muscles.VAS  = 5;  muscles.RF   = 6; muscles.SMEM = 7;
%muscles.BFSH = 8;  muscles.BFLH = 9; muscles.ILL  = 12;
%muscles.GLU  = 11;
%SangRaas('walk075_1','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[45 20],[70 45]);
%SangRaas('walk075_2','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[45 20],[70 45]);
%SangRaas('walk075_3','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[45 20],[70 45]);
%SangRaas('walk075_4','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[45 20],[70 45]);
%SangRaas('walk100_1','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[55 30],[70 45]);
%SangRaas('walk100_2','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[55 30],[70 45]);
%SangRaas('walk100_3','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[55 30],[70 45]);
%SangRaas('walk125_1','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 30],[70 45]);
%SangRaas('walk125_2','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 30],[70 45]);
%SangRaas('walk125_3','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 30],[70 45]);
%SangRaas('walk125_4','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 30],[70 45]);
%SangRaas('walk150_1','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 35],[70 45]);
%SangRaas('walk150_2','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 35],[70 45]);
%SangRaas('walk150_3','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 35],[70 45]);
%SangRaas('walk175_1','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 40],[70 45]);
%SangRaas('walk175_2','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 40],[70 45]);
%SangRaas('walk175_3','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[60 40],[70 45]);
%SangRaas('walk200_1','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[70 45],[70 45]);
%SangRaas('walk200_2','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[70 45],[70 45]);
%SangRaas('walk200_3','AD052611',[1:2 4:9 11:12],'L',muscles,0,1,[70 45],[70 45]);

clear muscles;
muscles.SOL  = 1;  muscles.TA   = 2; muscles.GAS  = 4;
muscles.VAS  = 5;  muscles.RF   = 6; muscles.SMEM = 7;
muscles.BFSH = 8;  muscles.BFLH = 9; muscles.ILL  = 12;
muscles.GLU  = 11;
%SangRaas('walk075_1','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[20 15],[40 35]);
%SangRaas('walk075_2','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[20 15],[40 35]);
%SangRaas('walk075_3','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[20 15],[40 35]);
%SangRaas('walk075_4','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[20 15],[40 35]);
%SangRaas('walk075_5','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[20 15],[40 35]);
%SangRaas('walk075_6','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[20 15],[40 35]);
%SangRaas('walk100_1','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[30 20],[40 35]);
%SangRaas('walk100_2','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[30 20],[40 35]);
%SangRaas('walk100_3','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[30 20],[40 35]);
%SangRaas('walk100_4','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[30 20],[40 35]);
%SangRaas('walk100_5','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[30 20],[40 35]);
%SangRaas('walk100_6','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[30 20],[40 35]);
%SangRaas('walk125_1','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk125_2','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk125_3','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk125_4','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk125_5','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk150_1','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk150_2','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk150_3','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
SangRaas('walk150_4','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk150_5','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk150_6','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[25 25],[40 35]);
%SangRaas('walk175_1','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[35 35],[40 35]);
%SangRaas('walk175_2','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[35 35],[40 35]);
%SangRaas('walk175_3','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[35 35],[40 35]);
%SangRaas('walk175_4','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[35 35],[40 35]);
%SangRaas('walk175_5','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[35 35],[40 35]);
%SangRaas('walk200_1','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[40 35],[40 35]);
%SangRaas('walk200_2','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[40 35],[40 35]);
%SangRaas('walk200_3','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[40 35],[40 35]);
%SangRaas('walk200_4','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[40 35],[40 35]);
%SangRaas('walk200_5','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[40 35],[40 35]);
%SangRaas('walk200_6','AM062411',[1:2 4:9 11:12],'L',muscles,0,1,[40 35],[40 35]);

%clear muscles;
%muscles.SOL  = 2;  muscles.TA   = 1; muscles.GAS  = 3;
%muscles.VAS  = 5;  muscles.RF   = 7; muscles.SMEM = 11;
%muscles.BFSH = 8;  muscles.BFLH = 9; muscles.ILL  = 12;
%muscles.GLU  = 13;
%SangRaas('walk050_1','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk050_2','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk050_3','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk050_4','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk050_5','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk050_6','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk075_1','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk075_2','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk075_3','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk075_4','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk075_5','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk075_6','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[30 10],[70 30]);
%SangRaas('walk100_1','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[40 20],[70 30]);
%SangRaas('walk100_2','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[40 20],[70 30]);
%SangRaas('walk100_3','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[40 20],[70 30]);
%SangRaas('walk100_4','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[40 20],[70 30]);
%SangRaas('walk100_5','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[40 20],[70 30]);
%SangRaas('walk100_6','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[40 20],[70 30]);
%SangRaas('walk125_2','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk125_3','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk125_4','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk125_5','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk125_6','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk125_7','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk150_7','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk150_8','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk150_9','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk150_10','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk150_11','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk175_1','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk175_2','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk175_3','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk175_4','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk175_5','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk175_6','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[50 20],[70 30]);
%SangRaas('walk200_1','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[70 30],[70 30]);
%SangRaas('walk200_2','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[70 30],[70 30]);
%SangRaas('walk200_3','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[70 30],[70 30]);
%SangRaas('walk200_4','DS100611',[1:3 5 7:9 11:13],'R',muscles,0,1,[70 30],[70 30]);

%clear muscles;
%muscles.SOL  = 1;  muscles.TA   = 4;  muscles.GAS  = 3;
%muscles.VAS  = 5;  muscles.RF   = 14; muscles.SMEM = 7;
%muscles.BFSH = 9;  muscles.BFLH = 8; muscles.ILL  = 11;
%muscles.GLU  = 12; muscles.GLUU = 13; 
%SangRaas('walk075_8','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[20 20],[45 45]);
%SangRaas('walk075_9','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[20 20],[45 45]);
%SangRaas('walk075_10','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[20 20],[45 45]);
%SangRaas('walk075_11','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[20 20],[45 45]);
%SangRaas('walk075_12','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[20 20],[45 45]);
%SangRaas('walk075_13','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[20 20],[45 45]);
%SangRaas('walk100_7','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[30 30],[45 45]);
%SangRaas('walk100_8','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[30 30],[45 45]);
%SangRaas('walk100_9','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[30 30],[45 45]);
%SangRaas('walk100_10','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[30 30],[45 45]);
%SangRaas('walk100_11','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[30 30],[45 45]);
%SangRaas('walk100_12','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[30 30],[45 45]);
%SangRaas('walk125_2','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk125_3','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk125_4','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk125_5','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk125_6','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk125_7','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_1','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_2','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_3','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_4','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_5','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_7','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_8','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk150_9','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 35],[45 45]);
%SangRaas('walk175_1','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 40],[45 45]);
%SangRaas('walk175_2','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 40],[45 45]);
%SangRaas('walk175_3','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 40],[45 45]);
%SangRaas('walk175_7','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 40],[45 45]);
%SangRaas('walk175_8','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[35 40],[45 45]);
%SangRaas('walk200_1','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[45 45],[45 45]);
%SangRaas('walk200_2','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[45 45],[45 45]);
%SangRaas('walk200_5','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[45 45],[45 45]);
%SangRaas('walk200_6','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[45 45],[45 45]);
%SangRaas('walk200_7','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[45 45],[45 45]);
%SangRaas('walk200_8','EM072611',[1 3:5 7:9 11:14],'R',muscles,0,1,[45 45],[45 45]);
