% parametersrun ng 501 (i.e., cam-1 run).

% positions addressed by pos +1 

stacks{2,4,1} = [20 20];
stacks{2,4,2} = [20 110];
stacks{2,4,3} = [20 115];
stacks{2,4,4} = [20 119];
stacks{2,4,5} = [20 20];


stacks{2,5,1} = [20 91];
stacks{2,5,2} = [20 20];
stacks{2,5,3} = [20 70];
stacks{2,5,4} = [20 78];
stacks{2,5,5} = [20 80];


stacks{2,6,1} = [20 20];
stacks{2,6,2} = [20 69];
stacks{2,6,3} = [20 71];
stacks{2,6,4} = [20 71];
stacks{2,6,5} = [20 20];
stacks{2,6,6} = [20 72];


stacks{2,7,1} = [20 118];
stacks{2,7,2} = [20 20];
stacks{2,7,3} = [20 115];
stacks{2,7,4} = [20 117];
stacks{2,7,5} = [20 108];
stacks{2,7,6} = [20 20];


stacks{2,8,1} = [20 115];
stacks{2,8,2} = [20 93];
stacks{2,8,3} = [20 101];
stacks{2,8,4} = [20 106];

stacks{2,9,1} = [20 93];
stacks{2,9,2} = [20 77];
stacks{2,9,3} =  [20 82];

stacks{2,11,1} = [20 101];
stacks{2,11,2} = [20 94];
stacks{2,11,3} = [20 89];

stacks{2,12,1} = [20 90];
stacks{2,12,2} = [20 96];
stacks{2,12,3} = [20 83];
stacks{2,12,4} = [20 102];
stacks{2,12,5} = [20 95];





bounds{2,4,1,1} = 1:351;
bounds{2,4,1,2} = 1:251;
bounds{2,4,2,1} = 1:351;
bounds{2,4,2,2} = 1:251;
bounds{2,4,3,1} = 1:351;
bounds{2,4,3,2} = 1:251;
bounds{2,4,4,1} = 1:351;
bounds{2,4,4,2} = 1:251;
bounds{2,4,5,1} = 1:351;
bounds{2,4,5,2} = 1:251;


bounds{2,5,1,1} = 1:351;
bounds{2,5,1,2} = 1:251;
bounds{2,5,2,1} = 1:351;
bounds{2,5,2,2} = 1:251;
bounds{2,5,3,1} = 1:351;
bounds{2,5,3,2} = 1:251;
bounds{2,5,4,1} = 1:351;
bounds{2,5,4,2} = 1:251;
bounds{2,5,5,1} = 1:351;
bounds{2,5,5,2} = 1:251;
bounds{2,5,6,1} = 1:351;
bounds{2,5,6,2} = 1:251;


bounds{2,6,1,1} = 1:351;
bounds{2,6,1,2} = 1:251;
bounds{2,6,2,1} = 1:351;
bounds{2,6,2,2} = 1:251;
bounds{2,6,3,1} = 1:351;
bounds{2,6,3,2} = 1:251;
bounds{2,6,4,1} = 1:351;
bounds{2,6,4,2} = 1:251;
bounds{2,6,5,1} = 1:351;
bounds{2,6,5,2} = 1:251;
bounds{2,6,6,1} = 1:351;
bounds{2,6,6,2} = 1:251;


bounds{2,7,1,1} = 1:351;
bounds{2,7,1,2} = 1:251;
bounds{2,7,2,1} = 1:351;
bounds{2,7,2,2} = 1:251;
bounds{2,7,3,1} = 1:351;
bounds{2,7,3,2} = 1:251;
bounds{2,7,4,1} = 1:351;
bounds{2,7,4,2} = 1:251;
bounds{2,7,5,1} = 1:351;
bounds{2,7,5,2} = 1:251;
bounds{2,7,6,1} = 1:351;
bounds{2,7,6,2} = 1:251;


bounds{2,8,1,1} = 1:351;
bounds{2,8,1,2} = 1:251;
bounds{2,8,2,1} = 1:351;
bounds{2,8,2,2} = 1:251;
bounds{2,8,3,1} = 1:351;
bounds{2,8,3,2} = 1:251;
bounds{2,8,4,1} = 1:351;
bounds{2,8,4,2} = 1:251;
bounds{2,8,5,1} = 1:351;
bounds{2,8,5,2} = 1:251;
bounds{2,8,6,1} = 1:351;
bounds{2,8,6,2} = 1:251;


bounds{2,9,1,1} = 1:351;
bounds{2,9,1,2} = 1:251;
bounds{2,9,2,1} = 1:351;
bounds{2,9,2,2} = 1:251;
bounds{2,9,3,1} = 1:351;
bounds{2,9,3,2} = 1:251;


bounds{2,11,1,1} = 1:351;
bounds{2,11,1,2} = 1:251;
bounds{2,11,2,1} = 1:351;
bounds{2,11,2,2} = 1:251;
bounds{2,11,3,1} = 1:351;
bounds{2,11,3,2} = 1:251;


bounds{2,12,1,1} = 1:351;
bounds{2,12,1,2} = 1:251;
bounds{2,12,2,1} = 1:351;
bounds{2,12,2,2} = 1:251;
bounds{2,12,3,1} = 1:351;
bounds{2,12,3,2} = 1:251;
bounds{2,12,4,1} = 1:351;
bounds{2,12,4,2} = 1:251;
bounds{2,12,5,1} = 1:351;
bounds{2,12,5,2} = 1:251;
bounds{2,12,6,1} = 1:351;
bounds{2,12,6,2} = 1:251;


moments_times{2,4,2} = '05-Apr-2016 16.39.36';
moments_times{2,4,3} = '05-Apr-2016 18.40.19';
moments_times{2,4,4} = '14-Apr-2016 21.39.01';

moments_times{2,5,1} = '06-Apr-2016 17.31.35';
moments_times{2,5,3} = '06-Apr-2016 18.56.45';
moments_times{2,5,5} = '07-Apr-2016 15.35.27';

moments_times{2,6,3} = '15-Apr-2016 00.15.46';
moments_times{2,6,6} = '13-Apr-2016 00.58.59';

moments_times{2,7,1} = '28-Mar-2016 17.05.04';
moments_times{2,7,3} = '29-Mar-2016 19.37.17';
moments_times{2,7,4} = '29-Mar-2016 21.05.49';
moments_times{2,7,5} = '30-Mar-2016 18.52.39';

moments_times{2,9,1} = '15-Mar-2016 02.28.36';
moments_times{2,9,2} = '15-Apr-2016 19.59.07';
moments_times{2,9,3} = '15-Mar-2016 04.43.28';

moments_times{2,11,1} = '17-Mar-2016 03.15.47';
moments_times{2,11,2} = '18-Mar-2016 05.21.11';
moments_times{2,11,3} = '18-Mar-2016 08.41.14';

moments_times{2,12,1} = '13-Mar-2016 06.16.30';
moments_times{2,12,2} = '13-Mar-2016 18.21.38';
moments_times{2,12,3} = '13-Mar-2016 07.32.53';
moments_times{2,12,4} = '13-Mar-2016 08.47.34';
moments_times{2,12,5} = '13-Mar-2016 10.02.32';

% These are overwritten --
moments_times{2,7,1} = '27-Feb-2016 16.37.04';
moments_times{2,11,3} = '18-Mar-2016 06.03.20';



moving_start_times{2,4,2} = '05-Apr-2016 16.39.36';
moving_start_times{2,4,3} = '05-Apr-2016 18.40.19';
moving_start_times{2,4,4} = '14-Apr-2016 21.39.01';

moving_start_times{2,5,1} = '06-Apr-2016 17.31.35';
moving_start_times{2,5,3} = '06-Apr-2016 18.56.45';
moving_start_times{2,5,5} = '07-Apr-2016 15.35.27';

moving_start_times{2,6,3} = '15-Apr-2016 00.15.46';
moving_start_times{2,6,6} = '13-Apr-2016 00.58.59';

moving_start_times{2,7,1} = '28-Mar-2016 17.05.04';
moving_start_times{2,7,3} = '29-Mar-2016 19.37.17';
moving_start_times{2,7,4} = '29-Mar-2016 21.05.49';
moving_start_times{2,7,5} = '30-Mar-2016 18.52.39';

moving_start_times{2,9,1} = '15-Mar-2016 02.28.36';
moving_start_times{2,9,2} = '15-Apr-2016 19.59.07';
moving_start_times{2,9,3} = '15-Mar-2016 04.43.28';

moving_start_times{2,11,1} = '17-Mar-2016 03.15.47';
moving_start_times{2,11,2} = '18-Mar-2016 05.21.11';
moving_start_times{2,11,3} = '18-Mar-2016 08.41.14';

moving_start_times{2,12,1} = '13-Mar-2016 06.16.30';
moving_start_times{2,12,2} = '13-Mar-2016 18.21.38';
moving_start_times{2,12,3} = '13-Mar-2016 07.32.53';
moving_start_times{2,12,4} = '13-Mar-2016 08.47.34';
moving_start_times{2,12,5} = '13-Mar-2016 10.02.32';

moving_run_number = 501;

strain_name = 'NG_'