%choose data and load
load('protosessions256_125hz.mat')
%load('protosessions64_125hz.mat')
%load('protosessions64_25hz.mat')
%load('protosessions64_12hz.mat')

%select a single  session
sid=1; %Select session number
y01=session(sid).glu(:,2); %grab glucose refrence readings and pick 2 or 5 meter
x01=session(sid).sitabs; %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=2; %Select session number
y02=session(sid).glu(:,2); %grab glucose refrence readings and pick 2 or 5 meter
x02=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=3; %Select session number
y03=session(sid).glu(:,2); %grab glucose refrence readings and pick 2 or 5 meter
x03=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=4; %Select session number
y04=session(sid).glu(:,2); %grab glucose refrence readings and pick 2 or 5 meter
x04=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=5; %Select session number
y05=session(sid).glu(:,2); %grab glucose refrence readings and pick 2 or 5 meter
x05=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=6; %Select session number
y06=session(sid).glu(:,2); %grab glucose refrence readings and pick 2 or 5 meter
x06=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=7; %Select session number
y07=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x07=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=8; %Select session number
y08=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x08=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=9; %Select ses9ion number
y09=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x09=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=10; %Select session number
y10=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x10=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=11; %Select session number
y11=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x11=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=12; %Select session number
y12=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x12=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=13; %Select session number
y13=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x13=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=14; %Select session number
y14=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x14=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=15; %Select session number
y15=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x15=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=16; %Select session number
y16=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x16=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=17; %Select session number
y17=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x17=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=18; %Se8ect session number
y18=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x18=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=19; %Select session number
y19=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x19=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=20; %Select session number
y20=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x20=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=21; %Select session number
y21=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x21=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels

%select a single  session
sid=22; %Select session number
y22=session(sid).glu(:,5); %grab glucose refrence readings and pick 2 or 5 meter
x22=session(sid).sitabs(:,[1:28 35:64]); %grab normalized absorbance matrix and pick 58 pixels






