%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
y2v01=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
y2v02=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
y2v03=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
y2v04=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
y2v05=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
y2v06=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
y2v07=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
y2v08=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
y2v09=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
y2v10=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
y2v11=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
y2v12=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
y2v13=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
y2v14=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
y2v15=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
y2v16=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
y2v17=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
y2v18=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
y2v19=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
y2v20=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
y2v21=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
y2v22=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

%select a single  session
sid=03; %Select session number
y1v03=session(sid).glu(:,1); %grab glucose refrence readings and pick 1 meter

%select a single  session
sid=06; %Select session number
y1v06=session(sid).glu(:,1); %grab glucose refrence readings and pick 1 meter

%select a single  session
sid=10; %Select session number
y1v10=session(sid).glu(:,1); %grab glucose refrence readings and pick 1 meter

%select a single  session
sid=14; %Select session number
y1v14=session(sid).glu(:,1); %grab glucose refrence readings and pick 1 meter

%select a single  session
sid=17; %Select session number
y1v17=session(sid).glu(:,1); %grab glucose refrence readings and pick 1 meter

%select a single  session
sid=20; %Select session number
y1v20=session(sid).glu(:,1); %grab glucose refrence readings and pick 1 meter

