Index: /SPESO/SPESO_Polariz/Analyse.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse.m	(revision 735)
@@ -0,0 +1,37 @@
+%%Analysis
+close all; clear all; clc
+path='data/';
+files = dir(path);
+AMP=[];
+BASE=[];
+BID=[];
+BRMS=[];
+DEL=[];
+for c=1:length(files)
+if (length(files(c).name)==17)
+    load([path files(c).name])
+    tmp=files(c).name;
+    date=tmp([6:13]);
+    for k=1:size(hour,1)
+        if (~isempty(str2num(hour(k,:))))
+            dateval=datenum([ date '_' hour(k,:) ],'YYYYmmdd_HHMMSS');
+            next_evt=find(beamInfo(:,1)>dateval,1, 'first');
+            if (~isempty(next_evt))
+                bid(k,:)=beamInfo(next_evt,:);
+                del(k)=beamInfo(next_evt,1)-dateval;
+            end
+        end
+    end
+    
+    if exist('bid')
+    AMP=[AMP; Amp];
+    BASE=[BASE;Base];
+    BID=[BID;bid];
+    BRMS=[BRMS;Brms];
+    DEL=[DEL;del(:)];
+    clear bid del
+    end
+end
+end
+
+ save DATAdel.mat AMP BASE BID BRMS DEL
Index: /SPESO/SPESO_Polariz/Analyse2.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse2.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse2.m	(revision 735)
@@ -0,0 +1,88 @@
+
+clear all; close all; clc
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+
+%% Uncomment to see what is changing
+% cut=(LPM==0)&(BTIME>7.3655e+5)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6);%&(RESEAU_POS<=8000);%
+% cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.4e+5);%&(RESEAU_POS<=8000);%
+% figure
+% hold on
+% plot(BTIME(cut),QICT1(cut),'.r')
+% plot(BTIME(cut),QICT2(cut),'.k')
+% set(gca,'fontsize',16)
+% legend('QICT1', 'QICT2')
+% grid on
+% xlabel('Time')
+% ylabel('Charge, [nC?]')
+% 
+% %%How to deal with turns???
+% figure
+% hold on
+% plot(BTIME(cut),DETECT_RS1(cut),'.r')%2
+% plot(BTIME(cut),DETECT_RS2(cut),'.k')% 0 -3 
+% plot(BTIME(cut),DETECT_RS3(cut),'.b')
+% plot(BTIME(cut),DETECT_RS4(cut),'.g')%-45
+% 
+% 
+% figure
+% hold on
+% plot(BTIME(cut),DETECT_XPOS(cut),'.r')
+% plot(BTIME(cut),DETECT_ZPOS(cut),'.k') 
+% plot(BTIME(cut),DETECT_SPOS(cut),'.b')
+
+% 
+% % time=datevec(BTIME);
+
+%% Spectrum
+
+figure
+hold on
+cut=(BTIME>7.3655e+5)&(AMP(:,3)~=1e+6)&(RESEAU_POS>1e+4)&(RESEAU_POS~=1.45e+6)&(LPM==0)&(QICT1>3.1)&(QICT1<3.5);% all other is fixed
+% semilogy(RESEAU_POS(cutL),AMP(cutL,3),'.r')
+plot(RESEAU_POS(cut),AMP(cut,1)./(QICT1(cut).^2),'-.or','linew',2)
+ plot(RESEAU_POS(cut),AMP(cut,2)./(QICT1(cut).^2),'-.ok','linew',2)
+set(gca, 'fontsize', 16)
+xlabel('BGS, [a.u.]')
+ylabel('Signal/Q^2, [a.u.]')
+legend( 'Vertical','Horizontal','location','northwest')
+grid on
+title('Q_e=3.3\pm0.2 [nC]')
+
+%checkparam(cut,0)
+
+
+
+figure
+hold on
+ cut=(LPM==0)&(BTIME>7.3655e+5)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(QICT1>3.1)&(QICT1<3.5)&(DETECT_ZPOS==-1.45e+5)&(DETECT_XPOS~=0)&(DETECT_XPOS~=1e+4)&(DETECT_XPOS~=-1.7e+5)&(DETECT_XPOS~=-3.4e+5);%&(RESEAU_POS<=8000);%
+%  plot(DETECT_XPOS(cut),-AMP(cut,3)./(QICT1(cut).^2),'.r')
+plot(DETECT_XPOS(cut)/795000*300,AMP(cut,2)./(QICT1(cut).^2),'-.ok','linew',2)
+ plot(DETECT_XPOS(cut)/795000*300,AMP(cut,1)./(QICT1(cut).^2),'-.or','linew',2)
+set(gca, 'fontsize', 16)
+ xlabel('Xpos, [mm]')
+ ylabel('Signal/Q^2, [a.u.]')
+ legend('Horizontal', 'Vertical','location','northwest')
+grid on
+title('Q_e=3.3\pm0.2 [nC]')
+
+
+% checkparam(cut,1)
+
+
+
+
+
+
Index: /SPESO/SPESO_Polariz/Analyse3.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse3.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse3.m	(revision 735)
@@ -0,0 +1,52 @@
+%% Plot nice figures for LPM with det3
+clear all; close all; clc
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+
+Dshift=145000;%90^o postion in S
+H=345520;%distanse from grating to detector. Check if that is true!!!
+
+
+figure
+hold on
+cut=(LPM==2)&(BTIME>736762)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_ZPOS==-1.45e+5)&(DETECT_XPOS==0)&(QICT1>0.4)&(QICT1<0.6)&(QICT2>0.4);
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,-AMP(cut,3)./(QICT1(cut).^2),'or')
+[Xpos,Ypos, ~]=makemean(DETECT_SPOS(cut),-AMP(cut,3)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos, '-k','linew',2)
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data','mean'); 
+title('Q_e=0.5\pm0.1 [nC]')
+grid on
+xlim([30 130])
+
+figure
+hold on
+cut=(LPM==2)&(BTIME>736762)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_ZPOS==-1.45e+5)&(DETECT_RS4==-3)&(DETECT_XPOS==0)&(QICT1>3.1)&(QICT1<3.5)&(QICT2>1);
+cut=cut&((((BTIME<736762.5)|(BTIME>736765))&((BTIME<736770)|(BTIME>736773))));
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,-AMP(cut,3)./(QICT1(cut).^2),'or')
+[Xpos,Ypos, ~]=makemean(DETECT_SPOS(cut),-AMP(cut,3)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos, '-k','linew',2)
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data','mean'); 
+title('Q_e=3.3\pm0.2 [nC]')
+grid on
+xlim([30 130])
+
+ checkparam(cut,1)
+
Index: /SPESO/SPESO_Polariz/Analyse4.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse4.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse4.m	(revision 735)
@@ -0,0 +1,158 @@
+%% Plot nice figures for SPM with polarizer
+%% bis mean that x axis is RS3 rotation
+clear all; close all; clc
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+
+Dshift=+600000;
+H=345520;%distanse from grating to detector. Check if that is true!!!
+
+
+
+figure
+hold on
+cut=(LPM==0)&(BTIME>7.36815e+5)&(AMP(:,2)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_ZPOS==-1.45e+5)&(DETECT_XPOS==0)&(DETECT_SPOS<=-2e+5);
+cut=cut&(~((DETECT_SPOS>-7.5e+5)&(DETECT_SPOS<-5.5e+5)&((AMP(:,1)./(QICT1.^2))<4e-3)));%delete bad data
+cut=cut&((BTIME<736851.85)|(BTIME>736852));% delete 5&6 june
+cut1=cut&(QICT1>0.3)&(QICT1<0.6)&(QICT2>0.3)&(QICT2<0.6);
+
+plot(atan((DETECT_SPOS(cut1)+Dshift)/H)/pi*180+90,AMP(cut1,2)./(QICT1(cut1).^2),'ok','linew',2)
+plot(atan((DETECT_SPOS(cut1)+Dshift)/H)/pi*180+90,AMP(cut1,1)./(QICT1(cut1).^2),'oy','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut1),AMP(cut1,2)./(QICT1(cut1).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos1, '-r','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut1),AMP(cut1,1)./(QICT1(cut1).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos2, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northwest')
+title('Q_e=0.45\pm0.15 [nC]')
+grid on
+ylim([0 0.03])
+ xlim([68 99])
+
+ TH1=atan((Xpos+Dshift)/H)/pi*180+90;
+ DP1=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+%  figure
+%  hold on
+%  plot(BTIME(cut1),DETECT_RS3(cut1),'.b')
+% plot(BTIME(cut1),DETECT_RS4(cut1),'.g')%-45
+%  legend('RS3','RS4')
+% 
+%  
+ figure
+hold on
+cut=(LPM==0)&(BTIME>7.36815e+5)&(AMP(:,2)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_ZPOS==-1.45e+5)&(DETECT_XPOS==0)&(DETECT_SPOS<=-2e+5);
+cut=cut&(~((DETECT_SPOS>-7.5e+5)&(DETECT_SPOS<-5.5e+5)&((AMP(:,1)./(QICT1.^2))<4e-3)));%delete bad data
+cut=cut&((BTIME<736851.85)|(BTIME>736852));% delete 5&6 june
+cut1=cut&(QICT1>0.3)&(QICT1<0.6)&(QICT2>0.3)&(QICT2<0.6);
+
+plot(DETECT_RS3(cut1)+90,AMP(cut1,2)./(QICT1(cut1).^2),'ok','linew',2)
+plot(DETECT_RS3(cut1)+90,AMP(cut1,1)./(QICT1(cut1).^2),'oy','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_RS3(cut1),AMP(cut1,2)./(QICT1(cut1).^2));
+plot(Xpos+90,Ypos1, '-r','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_RS3(cut1),AMP(cut1,1)./(QICT1(cut1).^2));
+plot(Xpos+90,Ypos2, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('RS3, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northwest')
+title('Q_e=0.45\pm0.15 [nC]')
+grid on
+ 
+ TH1b=Xpos+90;
+ DP1b=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+ 
+figure
+hold on
+cut=(LPM==0)&(BTIME>7.36756e+5)&(BTIME<7.36815e+5)&(AMP(:,2)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_ZPOS==-1.45e+5)&(DETECT_XPOS==0)&(DETECT_SPOS<=-5.6e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-5.7e+5)&((AMP(:,1)./(QICT1.^2))<0.8e-2)));
+cut1=cut&(QICT1>0.3)&(QICT1<0.6)&(QICT2>0.3)&(QICT2<0.6);
+plot(atan((DETECT_SPOS(cut1)+Dshift)/H)/pi*180+90,AMP(cut1,2)./(QICT1(cut1).^2),'ok','linew',2)
+plot(atan((DETECT_SPOS(cut1)+Dshift)/H)/pi*180+90,AMP(cut1,1)./(QICT1(cut1).^2),'oy','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut1),AMP(cut1,2)./(QICT1(cut1).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos1, '-r','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut1),AMP(cut1,1)./(QICT1(cut1).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos2, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northeast')
+title('Q_e=0.45\pm0.15 [nC]')
+grid on
+ylim([0 0.03])
+ xlim([68 99])
+TH2=atan((Xpos+Dshift)/H)/pi*180+90;
+ DP2=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+%   figure
+%  hold on
+%  plot(BTIME(cut1),DETECT_RS3(cut1),'.b')
+% plot(BTIME(cut1),DETECT_RS4(cut1),'.g')%-45
+%  legend('RS3','RS4')
+% 
+%  
+figure
+hold on
+plot(TH1,DP1, '-.ok','linew',2)
+plot(TH2,DP2, '-.or','linew',2)
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Degree of polarisation, [1]')
+legend('Date>30/04/2017','[2/3/17; 30/04/17]','location','southwest')
+title('Q_e=0.45\pm0.15 [nC]')
+grid on
+
+save polariz.mat TH1b DP1b
+
+
+% xlim([68 99])
+% figure
+% hold on
+% cut=(LPM==0)&(BTIME>7.3655e+5)&(BTIME<7.36756e+5)&(AMP(:,2)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_ZPOS==-1.45e+5)&(DETECT_XPOS==0)&(DETECT_SPOS<=-2e+5);%&(DETECT_RS3==0);%&(RESEAU_POS<=8000);%
+% cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-5.7e+5)&((AMP(:,1)./(QICT1.^2))<0.8e-2)));
+% cut1=cut&(QICT1>0.3)&(QICT1<0.6)&(QICT2>0.3)&(QICT2<0.6)
+% plot(DETECT_SPOS(cut1)+Dshift,AMP(cut1,2)./(QICT1(cut1).^2),'ok','linew',2)
+% plot(DETECT_SPOS(cut1)+Dshift,AMP(cut1,1)./(QICT1(cut1).^2),'or','linew',2)
+% [Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut1),AMP(cut1,2)./(QICT1(cut1).^2));
+% plot(Xpos+Dshift,Ypos1, '-g','linew',2)
+% [Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut1),AMP(cut1,1)./(QICT1(cut1).^2));
+% plot(Xpos+Dshift,Ypos2, '-m','linew',2)
+% set(gca, 'fontsize', 16)
+% xlabel('Spos, [a.u.]')
+% ylabel('Signal/Q^2, [a.u.]')
+% legend('Det2', 'Det1')
+% title('Low charge')
+% grid on
+% 
+% 
+% 
+% figure
+% hold on
+% cut=(LPM==0)&(BTIME>7.36815e+5)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6);
+% cut2=cut&(QICT1>2.8)&(QICT1<3.6)&(QICT2>2.8)&(QICT2<3.6);%&(RESEAU_POS<=8000);%
+% plot(DETECT_SPOS(cut2)+Dshift,AMP(cut2,2)./(QICT1(cut2).^2),'ok','linew',2)
+% plot(DETECT_SPOS(cut2)+Dshift,AMP(cut2,1)./(QICT1(cut2).^2),'or','linew',2)
+% set(gca, 'fontsize', 16)
+% xlabel('Spos, [a.u.]')
+% ylabel('Signal/Q^2, [a.u.]')
+% legend('Det1', 'Det2')
+% title('High charge')
+% grid on
Index: /SPESO/SPESO_Polariz/Analyse4bis.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse4bis.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse4bis.m	(revision 735)
@@ -0,0 +1,63 @@
+%% Plot nice figures for SPM with polarizer
+%% bis mean that x axis is RS3 rotation
+clear all; close all; clc
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+
+Dshift=+600000;
+H=345520;%distanse from grating to detector. Check if that is true!!!
+
+
+
+
+ 
+ figure
+hold on
+cut=(LPM==0)&(BTIME>7.36815e+5)&(AMP(:,2)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_ZPOS==-1.45e+5)&(DETECT_XPOS==0)&(DETECT_SPOS<=-2e+5);
+ cut=cut&(~((DETECT_SPOS>-7.5e+5)&(DETECT_SPOS<-5.5e+5)&((AMP(:,1)./(QICT1.^2))<4e-3)));%delete bad data
+cut=cut&((BTIME<736851.85)|(BTIME>736852));% delete 5&6 june
+cut1=cut&(QICT1>0.3)&(QICT1<0.6)&(QICT2>0.3)&(QICT2<0.6);
+% AMP=BASE;
+plot(DETECT_RS3(cut1)+90,AMP(cut1,2)./(QICT1(cut1).^2),'oy','linew',2)
+plot(DETECT_RS3(cut1)+90,AMP(cut1,1)./(QICT1(cut1).^2),'ok','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_RS3(cut1),AMP(cut1,2)./(QICT1(cut1).^2));
+plot(Xpos+90,Ypos1, '-b','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_RS3(cut1),AMP(cut1,1)./(QICT1(cut1).^2));
+plot(Xpos+90,Ypos2, '-r','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('RS3, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, V', 'Raw data, H','Mean, V', 'Mean, H','location','southeast')
+title('Q_e=0.45\pm0.15 [nC]')
+grid on
+ 
+ TH1b=Xpos+90;
+ DP1b=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+
+
+ 
+figure
+hold on
+plot(TH1b,DP1b, '-.ok','linew',2)
+%plot(TH2,DP2, '-.or','linew',2)
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Degree of polarisation, [1]')
+% legend('Date>30/04/2017','[2/3/17; 30/04/17]','location','southwest')
+title('Q_e=0.45\pm0.15 [nC]')
+grid on
+
Index: /SPESO/SPESO_Polariz/Analyse5.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse5.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse5.m	(revision 735)
@@ -0,0 +1,169 @@
+
+clear all; close all; clc
+% plotZ(-1.4e+5)
+% plotZ(-1.45e+5)
+% plotZ(-1.5e+5)
+% plotZ(-1.55e+5)
+% plotZ(-1.6e+5)
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+%%% Rotation should be taken into account
+Dshift=+600000;
+H=345520;%distanse from grating to detector. Check if that is true!!!
+
+
+figure
+hold on
+cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.4e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-6.68e+5)&(DETECT_SPOS<-6.64e+5)&((AMP(:,1)./(QICT1.^2))<6e-3)));%delete bad data
+
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,2)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,1)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northeast')
+title('Z=1.4')
+grid on
+ xlim([78 83])
+ylim([0 0.03])
+
+ TH1=atan((Xpos+Dshift)/H)/pi*180+90;
+ DP1=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+ checkparam(cut,1)
+
+figure
+hold on
+cut=(LPM==0)&(BTIME>736616)&(BTIME<736617.6)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.45e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<6e-3)));%delete bad data
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,2)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,1)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northeast')
+title('Z=1.45')
+grid on
+ xlim([78 83])
+ylim([0 0.03])
+
+ TH2=atan((Xpos+Dshift)/H)/pi*180+90;
+ DP2=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+ checkparam(cut,1)
+
+
+figure
+hold on
+ cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.5e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<7e-3)));%delete bad data
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,2)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,1)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northeast')
+title('Z=1.5')
+grid on
+ xlim([78 83])
+ylim([0 0.03])
+
+ TH3=atan((Xpos+Dshift)/H)/pi*180+90;
+ DP3=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+ checkparam(cut,1)
+
+
+figure
+hold on
+ cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.55e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<7e-3)));%delete bad data
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,2)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,1)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northeast')
+title('Z=1.55')
+grid on
+ xlim([78 83])
+ylim([0 0.03])
+
+ TH4=atan((Xpos+Dshift)/H)/pi*180+90;
+ DP4=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+ checkparam(cut,1)
+
+
+figure
+hold on
+ cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.6e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<7e-3)));%delete bad data
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(atan((DETECT_SPOS(cut)+Dshift)/H)/pi*180+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,2)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_SPOS(cut),AMP(cut,1)./(QICT1(cut).^2));
+plot(atan((Xpos+Dshift)/H)/pi*180+90,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northeast')
+title('Z=1.6')
+grid on
+ xlim([78 83])
+ylim([0 0.03])
+
+ TH5=atan((Xpos+Dshift)/H)/pi*180+90;
+ DP5=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+ 
+  checkparam(cut,1)
+
+ 
+ figure
+hold on
+plot(TH1,-DP1, '-.oy','linew',2)
+plot(TH2,-DP2, '-.ok','linew',2)
+plot(TH3,-DP3, '-.or','linew',2)
+plot(TH4,-DP4, '-.ob','linew',2)
+plot(TH5,-DP5, '-.og','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Degree of polarisation, [1]')
+ legend('Z=1.4','Z=1.45','Z=1.5','Z=1.55','Z=1.6','location','southeast')
+% title('Q_e=0.45\pm0.15 [nC]')
+grid on
+ xlim([78 84])
+
Index: /SPESO/SPESO_Polariz/Analyse5Angle.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse5Angle.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse5Angle.m	(revision 735)
@@ -0,0 +1,53 @@
+clear all; close all; clc
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+%7.36815e+5 to the end
+%7.36756e+5 to 7.36815e+5
+%7.3655e+5 to 7.36756e+5
+
+cut=(LPM==0)&(BTIME>7.3655e+5)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6);%&(RESEAU_POS<=8000);%
+
+%0.4 0.6
+%3.1 3.52
+% AMP=BASE;
+figure
+hold on
+plot(BTIME(cut),QICT1(cut),'.r')
+plot(BTIME(cut),QICT2(cut),'.k')
+set(gca,'fontsize',16)
+legend('QICT1', 'QICT2')
+grid on
+xlabel('Time')
+ylabel('Charge, [nC?]')
+
+%%How to deal with turns???
+figure
+hold on
+plot(BTIME(cut),DETECT_RS1(cut),'.r')%2
+plot(BTIME(cut),DETECT_RS2(cut),'.k')% 0 -3 
+plot(BTIME(cut),DETECT_RS3(cut),'.b')
+plot(BTIME(cut),DETECT_RS4(cut),'.g')%-45
+
+
+figure
+hold on
+plot(BTIME(cut),DETECT_XPOS(cut),'.r')
+plot(BTIME(cut),DETECT_ZPOS(cut),'.k') 
+plot(BTIME(cut),DETECT_SPOS(cut),'.b')
+
+figure
+hold on
+plot(BTIME(cut),DEL(cut),'.r')
+
Index: /SPESO/SPESO_Polariz/Analyse5bis.m
===================================================================
--- /SPESO/SPESO_Polariz/Analyse5bis.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Analyse5bis.m	(revision 735)
@@ -0,0 +1,183 @@
+
+clear all; close all; clc
+% plotZ(-1.4e+5)
+% plotZ(-1.45e+5)
+% plotZ(-1.5e+5)
+% plotZ(-1.55e+5)
+% plotZ(-1.6e+5)
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+%%% Rotation should be taken into account
+Dshift=+600000;
+H=345520;%distanse from grating to detector. Check if that is true!!!
+
+
+figure
+hold on
+cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.4e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-6.68e+5)&(DETECT_SPOS<-6.64e+5)&((AMP(:,1)./(QICT1.^2))<6e-3)));%delete bad data
+
+plot(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2));
+plot(Xpos,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2));
+plot(Xpos,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northwest')
+title('Z=1.4')
+grid on
+  xlim([77 102])
+ylim([0 0.03])
+
+ TH1=Xpos;
+ DP1=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+
+figure
+hold on
+cut=(LPM==0)&(BTIME>736616)&(BTIME<736617.6)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.45e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<6e-3)));%delete bad data
+plot(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2));
+plot(Xpos,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2));
+plot(Xpos,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northwest')
+title('Z=1.45')
+grid on
+  xlim([77 102])
+ylim([0 0.03])
+
+ TH2=Xpos;
+ DP2=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+
+figure
+hold on
+ cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.5e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<7e-3)));%delete bad data
+plot(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2));
+plot(Xpos,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2));
+plot(Xpos,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northwest')
+title('Z=1.5')
+grid on
+  xlim([77 102])
+ylim([0 0.03])
+
+ TH3=Xpos;
+ DP3=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+
+figure
+hold on
+ cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.55e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<7e-3)));%delete bad data
+plot(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2));
+plot(Xpos,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2));
+plot(Xpos,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northwest')
+title('Z=1.55')
+grid on
+  xlim([77 102])
+ylim([0 0.03])
+
+ TH4=Xpos;
+ DP4=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+
+
+figure
+hold on
+ cut=(LPM==0)&(BTIME>736614)&(BTIME<736628)&(AMP(:,3)~=1e+6)&(RESEAU_POS==1.45e+6)&(DETECT_SPOS<-5e+5)&(QICT1>0.2)&(QICT1<0.6)&(DETECT_ZPOS==-1.6e+5);%&(RESEAU_POS<=8000);%
+cut=cut&(~((DETECT_SPOS>-8e+5)&(DETECT_SPOS<-6.56e+5)&((AMP(:,1)./(QICT1.^2))<7e-3)));%delete bad data
+plot(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2),'ok','linew',2)
+plot(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2),'oy','linew',2)
+[Xpos,Ypos2, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,2)./(QICT1(cut).^2));
+plot(Xpos,Ypos2, '-r','linew',2)
+[Xpos,Ypos1, Yerr]=makemean(DETECT_RS3(cut)+90,AMP(cut,1)./(QICT1(cut).^2));
+plot(Xpos,Ypos1, '-b','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Signal/Q^2, [a.u.]')
+legend('Raw data, H', 'Raw data, V','Mean, H', 'Mean, V','location','northwest')
+title('Z=1.6')
+grid on
+  xlim([77 102])
+ylim([0 0.03])
+
+ TH5=Xpos;
+ DP5=(Ypos2-Ypos1)./(Ypos2+Ypos1);
+ 
+
+ 
+ figure
+hold on
+plot(TH1,-DP1, '-.oy','linew',2)
+plot(TH2,-DP2, '-.ok','linew',2)
+plot(TH3,-DP3, '-.or','linew',2)
+plot(TH4,-DP4, '-.ob','linew',2)
+plot(TH5,-DP5, '-.og','linew',2)
+
+set(gca, 'fontsize', 16)
+xlabel('Angle, [deg]')
+ylabel('Degree of polarisation, [1]')
+ legend('Z=1.4','Z=1.45','Z=1.5','Z=1.55','Z=1.6','location','southwest')
+% title('Q_e=0.45\pm0.15 [nC]')
+grid on
+  xlim([73 102])
+  ylim([-1 1])
+
+% load polariz.mat TH1b DP1b
+%  figure
+% hold on
+% plot(TH1,-DP1, '-.oy','linew',2)
+% plot(TH2,-DP2, '-.ok','linew',2)
+% plot(TH3,-DP3, '-.or','linew',2)
+% plot(TH4,-DP4, '-.ob','linew',2)
+% plot(TH5,-DP5, '-.og','linew',2)
+% plot(TH1b,DP1b, '-.*k','linew',2)
+% 
+% set(gca, 'fontsize', 16)
+% xlabel('Angle, [deg]')
+% ylabel('Degree of polarisation, [1]')
+%  legend('Z=1.4','Z=1.45','Z=1.5','Z=1.55','Z=1.6','Z=1.45*','location','southwest')
+% % title('Q_e=0.45\pm0.15 [nC]')
+% grid on
+%   xlim([73 102])
+%   ylim([-1 1])
Index: /SPESO/SPESO_Polariz/Angle_corrections.m
===================================================================
--- /SPESO/SPESO_Polariz/Angle_corrections.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Angle_corrections.m	(revision 735)
@@ -0,0 +1,70 @@
+%%
+clear all; close all; clc
+ load DATAdel.mat
+% BTIME =BID(:,1);
+% XBPM = BID(:,2);
+% QICT1 =BID(:,3);
+% QICT2 =BID(:,4);
+% RESEAU_POS =BID(:,19);
+% DETECT_XPOS=BID(:,15);
+% DETECT_ZPOS=BID(:,17);
+ DETECT_SPOS=BID(:,13);
+% DETECT_RS1 =BID(:,5);
+% DETECT_RS2 =BID(:,7);
+ DETECT_RS3 =BID(:,9);
+% DETECT_RS4 =BID(:,11);
+% LPM =BID(:,21);
+
+Dshift=600000;%90^o postion in S
+
+H=294;
+L=90;
+x1=unique(sort(DETECT_SPOS));
+x0=(unique(sort(DETECT_SPOS))+Dshift)/795000*300;%position SPOS
+HORN=exp(-x0.^2/(2*(7.8)^2));
+HORN(HORN<0)=0;
+beta=atan(x0/H);% angle from position
+TA=beta/3*0;%RS3 or RS4 in rad
+for c=1:length(x0)
+if abs(x0(c))<=L/2
+    aph1(c)=atan((L/2+x0(c))/(H));
+    aph2(c)=atan((L/2-x0(c))/(H));
+elseif abs(x0(c))>L/2
+    aph1(c)=-atan(-(L/2+x0(c))/(H));
+    aph2(c)=atan((L/2-x0(c))/(H));
+end
+%ACPT(c)=size(HORN,2);
+
+% AAA=unique(sort(DETECT_RS3(DETECT_SPOS==x1(c))));
+% if ~isempty(AAA)
+%     TA(c)=min(AAA)/180*pi;
+% end
+
+     ACPT(c)=sum(HORN((beta>(-aph1(c)+TA(c)))&(beta<(aph2(c)+TA(c)))));
+
+end
+
+
+figure
+hold on
+plot(90-beta/pi*180, 90-(aph1/pi*180),'r','linew',2)%begining
+plot(90-beta/pi*180,90+ (aph2/pi*180),'k','linew',2)%end
+%of integration of angular acceptance
+plot(90-beta/pi*180, (90+1.75-TA/pi*180),'--g','linew',2)%begining
+plot(90-beta/pi*180,(90-1.75-TA/pi*180),'--g','linew',2)%end
+grid on
+set(gca,'fontsize',16)
+xlabel('Angle (Spos), [deg.]')
+ylabel('Angle (\alpha*), [deg.]')
+legend('\alpha_2','\alpha_1','\gamma_D','location','southeast')
+figure
+hold on
+plot(beta/pi*180,aph1+aph2,'r')%angle of detector seen from grating
+plot(beta/pi*180,HORN,'k')%angle of detector seen from grating
+
+figure
+plot(90-beta/pi*180,ACPT)
+
+
+
+
Index: /SPESO/SPESO_Polariz/Oscil/CoolDay.m
===================================================================
--- /SPESO/SPESO_Polariz/Oscil/CoolDay.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Oscil/CoolDay.m	(revision 735)
@@ -0,0 +1,29 @@
+function CoolDay(path, date_var)
+
+ if (exist([path date_var '_scope/beam_info_' date_var '.mat'],'file'))
+     %disp(['Loading beam_info_' date_var '.mat']);
+ load([path date_var '_scope/beam_info_' date_var '.mat']);
+ else 
+beamInfo=0;
+ end
+ 
+if (~exist(['Data_' date_var '.mat'],'file'))
+directory=[path date_var '_scope/'];
+ listing = dir([directory '*.png']);
+ Filelist={listing.name}';
+  name=char(Filelist(:));
+ hour=name(:,16:21);
+ for c=1:size(hour,1)
+file=['scope_' date_var '_' hour(c,:) ];
+ try
+ [Amp(c,:),Base(c,:),Brms(c,:)]=takedata([directory file]);
+  catch 
+    disp(['Bad try on ' file]);
+    Amp(c,:)=ones([1 3])*1e+6;
+    Base(c,:)=ones([1 3])*1e+6;
+    Brms(c,:)=ones([1 3])*1e+6;
+  end
+ end
+
+save(['Data_' date_var '.mat'], 'Amp', 'Base', 'Brms','hour','beamInfo')
+end
Index: /SPESO/SPESO_Polariz/Oscil/StartMe.m
===================================================================
--- /SPESO/SPESO_Polariz/Oscil/StartMe.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Oscil/StartMe.m	(revision 735)
@@ -0,0 +1,19 @@
+close all; clear all; clc
+path='/sps/sera/delerue/smith-purcell/SPESO/data/';
+files = dir(path);
+subFolders = files([files.isdir]);
+parfor c=1:length(subFolders)
+name=char(subFolders(c).name);
+if (length(name)==14)
+ if (sum(name(9:end)=='_scope')==6)
+     if (str2num(name(1:8))>20160901)
+              disp(name)
+      CoolDay(path, name(1:8))
+     end
+end
+end
+end
+
+
+% 
+ 
Index: /SPESO/SPESO_Polariz/Oscil/takedata.m
===================================================================
--- /SPESO/SPESO_Polariz/Oscil/takedata.m	(revision 735)
+++ /SPESO/SPESO_Polariz/Oscil/takedata.m	(revision 735)
@@ -0,0 +1,70 @@
+function [Amp,Base,Brms]=takedata(dirfile)
+%read and fft filtering
+
+%% chanel 1
+if exist([dirfile '_ch1.csv.gz'],'file')
+gunzip([dirfile '_ch1.csv.gz']);
+A=csvread([dirfile '_ch1.csv'],2);
+delete([dirfile '_ch1.csv']);
+ FFT=fft(A(:,2));
+ time=A(:,1);
+ Am=abs(FFT);
+ Ph=angle(FFT);
+ d=50;%filter limit
+ Am((d+1):(end-d))=0;
+ S=Am.*exp(1i.*Ph);
+ SS=real(ifft(S));
+ [Amp(1),pos]=max(SS);
+Base(1)=mean(SS(1:pos-50));
+Brms(1)=rms(SS(1:pos-50)-Base(1));
+else
+   Amp(1)=1e+6;
+   Base(1)=1e+6;
+   Brms(1)=1e+6;
+end
+%% chanel 2
+if exist([dirfile '_ch2.csv.gz'],'file')
+
+gunzip([dirfile '_ch2.csv.gz']);
+A=csvread([dirfile '_ch2.csv'],2);
+delete([dirfile '_ch2.csv']);
+
+ FFT=fft(A(:,2));
+ time=A(:,1);
+ Am=abs(FFT);
+ Ph=angle(FFT);
+ d=50;%filter limit
+ Am((d+1):(end-d))=0;
+ S=Am.*exp(1i.*Ph);
+ SS=real(ifft(S));
+ [Amp(2),pos]=max(SS);
+Base(2)=mean(SS(1:pos-50));
+Brms(2)=rms(SS(1:pos-50)-Base(2));
+else
+   Amp(2)=1e+6;
+   Base(2)=1e+6;
+   Brms(2)=1e+6;
+end
+%% chanel 3
+if exist([dirfile '_ch3.csv.gz'],'file')
+
+gunzip([dirfile '_ch3.csv.gz']);
+A=csvread([dirfile '_ch3.csv'],2);
+delete([dirfile '_ch3.csv']);
+
+ FFT=fft(A(:,2));
+ time=A(:,1);
+ Am=abs(FFT);
+ Ph=angle(FFT);
+ d=200;%filter limit
+ Am((d+1):(end-d))=0;
+ S=Am.*exp(1i.*Ph);
+ SS=real(ifft(S));
+ [Amp(3),pos]=min(SS);
+Base(3)=mean(SS(1:pos-50));
+Brms(3)=rms(SS(1:pos-50)-Base(3));
+else
+   Amp(3)=1e+6;
+   Base(3)=1e+6;
+   Brms(3)=1e+6;
+end
Index: /SPESO/SPESO_Polariz/checkparam.m
===================================================================
--- /SPESO/SPESO_Polariz/checkparam.m	(revision 735)
+++ /SPESO/SPESO_Polariz/checkparam.m	(revision 735)
@@ -0,0 +1,71 @@
+function []=checkparam(cut,plt)
+
+load DATAdel.mat
+BTIME =BID(:,1);
+XBPM = BID(:,2);
+QICT1 =BID(:,3);
+QICT2 =BID(:,4);
+RESEAU_POS =BID(:,19);
+DETECT_XPOS=BID(:,15);
+DETECT_ZPOS=BID(:,17);
+DETECT_SPOS=BID(:,13);
+DETECT_RS1 =BID(:,5);
+DETECT_RS2 =BID(:,7);
+DETECT_RS3 =BID(:,9);
+DETECT_RS4 =BID(:,11);
+LPM =BID(:,21);
+
+if (plt)
+
+
+figure(1001)
+hold on
+plot(BTIME(cut),RESEAU_POS(cut),'.r')
+title('RESEAU_POS')
+
+figure(1002)
+hold on
+plot(BTIME(cut),QICT1(cut),'.r')
+plot(BTIME(cut),QICT2(cut),'.k')
+set(gca,'fontsize',16)
+legend('QICT1', 'QICT2')
+grid on
+xlabel('Time')
+ylabel('Charge, [nC?]')
+
+%%How to deal with turns???
+figure(1003)
+hold on
+plot(BTIME(cut),DETECT_RS1(cut),'.r')%2
+plot(BTIME(cut),DETECT_RS2(cut),'.k')% 0 -3 
+plot(BTIME(cut),DETECT_RS3(cut),'.b')
+plot(BTIME(cut),DETECT_RS4(cut),'.g')%-45
+legend('RS1','RS2','RS3','RS4')
+
+figure(1004)
+hold on
+plot(BTIME(cut),DETECT_XPOS(cut),'.r')
+plot(BTIME(cut),DETECT_ZPOS(cut),'.k') 
+plot(BTIME(cut),DETECT_SPOS(cut),'.b')
+
+legend('xpos','zpos','spos')
+
+figure(1005)
+hold on
+plot(BTIME(cut),LPM(cut),'.r')
+title('LPM')
+end
+if mean(LPM(cut))==2
+iword='Long pulse mode, ';
+else
+iword='Short pulse mode, ';
+end
+disp([iword, 'grating position = ' num2str(mean(RESEAU_POS(cut))) ...
+    ', $QICT_1$ = $' num2str(mean(QICT1(cut))) '\pm' num2str(std(QICT1(cut))) '$' ...
+    ', $QICT_2$ = $' num2str(mean(QICT2(cut))) '\pm' num2str(std(QICT2(cut))) '$' ...
+    ', $RS_1$ = ' num2str(mean(DETECT_RS1(cut))) ', $RS_2$ = ' num2str(mean(DETECT_RS2(cut))) ...
+    ', $RS_3$ = ' num2str(mean(DETECT_RS3(cut))) ', $RS_4$ = ' num2str(mean(DETECT_RS4(cut))) ...
+    ', XPOS = ' num2str(mean(DETECT_XPOS(cut))) ', ZPOS = ' num2str(mean(DETECT_ZPOS(cut))) ', SPOS = ' num2str(mean(DETECT_SPOS(cut))) ...
+    ])
+
+
Index: /SPESO/SPESO_Polariz/makemean.m
===================================================================
--- /SPESO/SPESO_Polariz/makemean.m	(revision 735)
+++ /SPESO/SPESO_Polariz/makemean.m	(revision 735)
@@ -0,0 +1,20 @@
+function [Xpos,Ypos, Yerr]=makemean(X,Y)
+ Xpos=sort(unique(X));
+% Xpos=3e+6:5e+4:3.4e+6;
+
+TotM=mean(Y(~isnan(Y)));
+Ypos=[];
+Yerr=[];
+for c=1:size(Xpos,1)
+    
+%     diap=(X==Xpos(c))'&(abs(Y-TotM)<30)&(~isnan(Y));
+        diap=(X==Xpos(c));
+        try
+    Ypos=[Ypos,mean(Y(diap))];
+    Yerr=[Yerr,rms(Y(diap)-Ypos(c))];
+        end
+end
+
+%  Ypos(isnan( Ypos))=[];
+% Yerr(isnan( Ypos))=[];
+
Index: /SPESO/SPESO_Polariz/readme.txt
===================================================================
--- /SPESO/SPESO_Polariz/readme.txt	(revision 735)
+++ /SPESO/SPESO_Polariz/readme.txt	(revision 735)
@@ -0,0 +1,5 @@
+Analyze3.m -- LPM 2 plots with high anf low charge for Det3
+Analyze4.m -- SPM 3 plots : 2 different data from march + polarization
+Analyze2.m -- BGS, Absorbtion; check parameters (commented)
+Analyze5.m -- Z spectrums + polarization
+Analyze.m --- collect data from files
Index: /SPESO/SPESO_Polariz/report/Presentation/Presentation.aux
===================================================================
--- /SPESO/SPESO_Polariz/report/Presentation/Presentation.aux	(revision 735)
+++ /SPESO/SPESO_Polariz/report/Presentation/Presentation.aux	(revision 735)
@@ -0,0 +1,49 @@
+\relax 
+\providecommand\hyper@newdestlabel[2]{}
+\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
+\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined
+\global\let\oldcontentsline\contentsline
+\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
+\global\let\oldnewlabel\newlabel
+\gdef\newlabel#1#2{\newlabelxx{#1}#2}
+\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
+\AtEndDocument{\ifx\hyper@anchor\@undefined
+\let\contentsline\oldcontentsline
+\let\newlabel\oldnewlabel
+\fi}
+\fi}
+\global\let\hyper@last\relax 
+\gdef\HyperFirstAtBeginDocument#1{#1}
+\providecommand\HyField@AuxAddToFields[1]{}
+\providecommand\HyField@AuxAddToCoFields[2]{}
+\@writefile{toc}{\beamer@endinputifotherversion {3.36pt}}
+\@writefile{nav}{\beamer@endinputifotherversion {3.36pt}}
+\select@language{english}
+\@writefile{toc}{\select@language{english}}
+\@writefile{lof}{\select@language{english}}
+\@writefile{lot}{\select@language{english}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {1}{1}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {2}{2}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {3}{3}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {4}{4}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {5}{5}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {6}{6}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {7}{7}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{8}{8/8}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {8}{8}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{9}{9/9}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {9}{9}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{10}{10/10}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {10}{10}}}
+\@writefile{nav}{\headcommand {\beamer@partpages {1}{10}}}
+\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{10}}}
+\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{10}}}
+\@writefile{nav}{\headcommand {\beamer@documentpages {10}}}
+\@writefile{nav}{\headcommand {\def \inserttotalframenumber {10}}}
Index: /SPESO/SPESO_Polariz/report/Presentation/Presentation.log
===================================================================
--- /SPESO/SPESO_Polariz/report/Presentation/Presentation.log	(revision 735)
+++ /SPESO/SPESO_Polariz/report/Presentation/Presentation.log	(revision 735)
@@ -0,0 +1,1410 @@
+This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex 2017.5.5)  27 JUL 2017 11:09
+entering extended mode
+ restricted \write18 enabled.
+ %&-line parsing enabled.
+**Presentation.tex
+(./Presentation.tex
+LaTeX2e <2016/02/01>
+Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamer.cls
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasercs.sty
+Package: beamerbasercs 2015/03/08 (rcs-revision 368aa9ba9d38)
+)
+Document Class: beamer 2015/01/05 3.36 A class for typesetting presentations (r
+cs-revision 8a39122e1f63)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasemodes.sty
+Package: beamerbasemodes 2013/09/03 (rcs-revision 768f2d98ca64)
+\beamer@tempbox=\box26
+\beamer@tempcount=\count79
+\c@beamerpauses=\count80
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasedecode.sty
+Package: beamerbasedecode 2010/05/01 (rcs-revision efa082c6111d)
+\beamer@slideinframe=\count81
+\beamer@minimum=\count82
+)
+\beamer@commentbox=\box27
+\beamer@modecount=\count83
+)
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
+Package ifpdf Info: pdfTeX in PDF mode is detected.
+)
+\headheight=\dimen102
+\headdp=\dimen103
+\footheight=\dimen104
+\sidebarheight=\dimen105
+\beamer@tempdim=\dimen106
+\beamer@finalheight=\dimen107
+\beamer@animht=\dimen108
+\beamer@animdp=\dimen109
+\beamer@animwd=\dimen110
+\beamer@leftmargin=\dimen111
+\beamer@rightmargin=\dimen112
+\beamer@leftsidebar=\dimen113
+\beamer@rightsidebar=\dimen114
+\beamer@boxsize=\dimen115
+\beamer@vboxoffset=\dimen116
+\beamer@descdefault=\dimen117
+\beamer@descriptionwidth=\dimen118
+\beamer@lastskip=\skip41
+\beamer@areabox=\box28
+\beamer@animcurrent=\box29
+\beamer@animshowbox=\box30
+\beamer@sectionbox=\box31
+\beamer@logobox=\box32
+\beamer@linebox=\box33
+\beamer@sectioncount=\count84
+\beamer@subsubsectionmax=\count85
+\beamer@subsectionmax=\count86
+\beamer@sectionmax=\count87
+\beamer@totalheads=\count88
+\beamer@headcounter=\count89
+\beamer@partstartpage=\count90
+\beamer@sectionstartpage=\count91
+\beamer@subsectionstartpage=\count92
+\beamer@animationtempa=\count93
+\beamer@animationtempb=\count94
+\beamer@xpos=\count95
+\beamer@ypos=\count96
+\beamer@showpartnumber=\count97
+\beamer@currentsubsection=\count98
+\beamer@coveringdepth=\count99
+\beamer@sectionadjust=\count100
+\beamer@tocsectionnumber=\count101
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty
+Package: beamerbaseoptions 2013/03/10 (rcs-revision 47431932db0d)
+
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
+Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
+\KV@toks@=\toks14
+))
+\beamer@paperwidth=\skip42
+\beamer@paperheight=\skip43
+
+(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
+Package: geometry 2010/09/12 v5.6 Page Geometry
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty
+Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
+Package ifvtex Info: VTeX not detected.
+)
+(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
+)
+\Gm@cnth=\count102
+\Gm@cntv=\count103
+\c@Gm@tempcnt=\count104
+\Gm@bindingoffset=\dimen119
+\Gm@wd@mp=\dimen120
+\Gm@odd@mp=\dimen121
+\Gm@even@mp=\dimen122
+\Gm@layoutwidth=\dimen123
+\Gm@layoutheight=\dimen124
+\Gm@layouthoffset=\dimen125
+\Gm@layoutvoffset=\dimen126
+\Gm@dimlist=\toks15
+)
+(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
+File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
+Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
+
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
+Package: graphics 2016/01/03 v1.0q Standard LaTeX Graphics (DPC,SPQR)
+
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
+Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
+File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
+)
+Package graphics Info: Driver file: pdftex.def on input line 95.
+
+(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
+File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
+Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
+)
+\Gread@gobject=\count105
+))
+\Gin@req@height=\dimen127
+\Gin@req@width=\dimen128
+)
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
+\pgfutil@everybye=\toks16
+\pgfutil@tempdima=\dimen129
+\pgfutil@tempdimb=\dimen130
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t
+ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
+\pgfutil@abb=\box34
+(/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty
+Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
+Package: pgfrcs 2015/08/07 v3.0.1a (rcs-revision 1.31)
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
+Package: pgfsys 2014/07/09 v3.0.1a (rcs-revision 1.48)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
+\pgfkeys@pathtoks=\toks17
+\pgfkeys@temptoks=\toks18
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t
+ex
+\pgfkeys@tmptoks=\toks19
+))
+\pgf@x=\dimen131
+\pgf@y=\dimen132
+\pgf@xa=\dimen133
+\pgf@ya=\dimen134
+\pgf@xb=\dimen135
+\pgf@yb=\dimen136
+\pgf@xc=\dimen137
+\pgf@yc=\dimen138
+\w@pgf@writea=\write3
+\r@pgf@reada=\read1
+\c@pgf@counta=\count106
+\c@pgf@countb=\count107
+\c@pgf@countc=\count108
+\c@pgf@countd=\count109
+\t@pgf@toka=\toks20
+\t@pgf@tokb=\toks21
+\t@pgf@tokc=\toks22
+ (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
+File: pgf.cfg 2008/05/14  (rcs-revision 1.7)
+)
+Driver file for pgf: pgfsys-pdftex.def
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
+File: pgfsys-pdftex.def 2014/10/11  (rcs-revision 1.35)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.de
+f
+File: pgfsys-common-pdf.def 2013/10/10  (rcs-revision 1.13)
+)))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.
+tex
+File: pgfsyssoftpath.code.tex 2013/09/09  (rcs-revision 1.9)
+\pgfsyssoftpath@smallbuffer@items=\count110
+\pgfsyssoftpath@bigbuffer@items=\count111
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.
+tex
+File: pgfsysprotocol.code.tex 2006/10/16  (rcs-revision 1.4)
+)) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
+Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
+
+(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
+File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
+)
+Package xcolor Info: Driver file: pdftex.def on input line 225.
+Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
+Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
+Package xcolor Info: Model `RGB' extended on input line 1353.
+Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
+Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
+Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
+Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
+Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
+Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
+Package: pgfcore 2010/04/11 v3.0.1a (rcs-revision 1.7)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
+\pgfmath@dimen=\dimen139
+\pgfmath@count=\count112
+\pgfmath@box=\box35
+\pgfmath@toks=\toks23
+\pgfmath@stack@operand=\toks24
+\pgfmath@stack@operation=\toks25
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code
+.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet
+ric.code.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod
+e.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison
+.code.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.
+tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code
+.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.
+tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari
+thmetics.code.tex)))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
+\c@pgfmathroundto@lastzeros=\count113
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.te
+x
+File: pgfcorepoints.code.tex 2013/10/07  (rcs-revision 1.27)
+\pgf@picminx=\dimen140
+\pgf@picmaxx=\dimen141
+\pgf@picminy=\dimen142
+\pgf@picmaxy=\dimen143
+\pgf@pathminx=\dimen144
+\pgf@pathmaxx=\dimen145
+\pgf@pathminy=\dimen146
+\pgf@pathmaxy=\dimen147
+\pgf@xx=\dimen148
+\pgf@xy=\dimen149
+\pgf@yx=\dimen150
+\pgf@yy=\dimen151
+\pgf@zx=\dimen152
+\pgf@zy=\dimen153
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.
+code.tex
+File: pgfcorepathconstruct.code.tex 2013/10/07  (rcs-revision 1.29)
+\pgf@path@lastx=\dimen154
+\pgf@path@lasty=\dimen155
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code
+.tex
+File: pgfcorepathusage.code.tex 2014/11/02  (rcs-revision 1.24)
+\pgf@shorten@end@additional=\dimen156
+\pgf@shorten@start@additional=\dimen157
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.te
+x
+File: pgfcorescopes.code.tex 2015/05/08  (rcs-revision 1.46)
+\pgfpic=\box36
+\pgf@hbox=\box37
+\pgf@layerbox@main=\box38
+\pgf@picture@serial@count=\count114
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.c
+ode.tex
+File: pgfcoregraphicstate.code.tex 2014/11/02  (rcs-revision 1.12)
+\pgflinewidth=\dimen158
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformation
+s.code.tex
+File: pgfcoretransformations.code.tex 2015/08/07  (rcs-revision 1.20)
+\pgf@pt@x=\dimen159
+\pgf@pt@y=\dimen160
+\pgf@pt@temp=\dimen161
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
+File: pgfcorequick.code.tex 2008/10/09  (rcs-revision 1.3)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.t
+ex
+File: pgfcoreobjects.code.tex 2006/10/11  (rcs-revision 1.2)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing
+.code.tex
+File: pgfcorepathprocessing.code.tex 2013/09/09  (rcs-revision 1.9)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.te
+x
+File: pgfcorearrows.code.tex 2015/05/14  (rcs-revision 1.43)
+\pgfarrowsep=\dimen162
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
+File: pgfcoreshade.code.tex 2013/07/15  (rcs-revision 1.15)
+\pgf@max=\dimen163
+\pgf@sys@shading@range@num=\count115
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
+File: pgfcoreimage.code.tex 2013/07/15  (rcs-revision 1.18)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.
+tex
+File: pgfcoreexternal.code.tex 2014/07/09  (rcs-revision 1.21)
+\pgfexternal@startupbox=\box39
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.te
+x
+File: pgfcorelayers.code.tex 2013/07/18  (rcs-revision 1.7)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.c
+ode.tex
+File: pgfcoretransparency.code.tex 2013/09/30  (rcs-revision 1.5)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.
+tex
+File: pgfcorepatterns.code.tex 2013/11/07  (rcs-revision 1.5)
+))) (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/xxcolor.sty
+Package: xxcolor 2003/10/24 ver 0.1
+\XC@nummixins=\count116
+\XC@countmixins=\count117
+)
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
+Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
+Package: hyperref 2012/11/06 v6.83m Hypertext links for LaTeX
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
+Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO)
+
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
+Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic (HO)
+Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO)
+Package hobsub Info: Skipping package `infwarerr' (already loaded).
+Package hobsub Info: Skipping package `ltxcmds' (already loaded).
+Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+Package hobsub Info: Skipping package `ifvtex' (already loaded).
+Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO)
+Package hobsub Info: Skipping package `ifpdf' (already loaded).
+Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
+(etexcmds)             that some package has redefined \expanded.
+(etexcmds)             In the latter case, load this package earlier.
+Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
+Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
+Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
+)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: \pdf@primitive is available.
+Package pdftexcmds Info: \pdf@ifprimitive is available.
+Package pdftexcmds Info: \pdfdraftmode found.
+Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
+Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers (HO
+)
+Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO)
+Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO)
+)
+Package hobsub Info: Skipping package `hobsub' (already loaded).
+Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
+Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO)
+Package: xcolor-patch 2011/01/30 xcolor patch
+Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO)
+Package atveryend Info: \enddocument detected (standard20110627).
+Package hobsub Info: Skipping package `atbegshi' (already loaded).
+Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO)
+Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty
+Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
+)
+\@linkdim=\dimen164
+\Hy@linkcounter=\count118
+\Hy@pagecounter=\count119
+
+(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
+File: pd1enc.def 2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
+)
+\Hy@SavedSpaceFactor=\count120
+
+(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
+)
+Package hyperref Info: Option `bookmarks' set `true' on input line 4319.
+Package hyperref Info: Option `bookmarksopen' set `true' on input line 4319.
+Package hyperref Info: Option `implicit' set `false' on input line 4319.
+Package hyperref Info: Hyper figures OFF on input line 4443.
+Package hyperref Info: Link nesting OFF on input line 4448.
+Package hyperref Info: Hyper index ON on input line 4451.
+Package hyperref Info: Plain pages OFF on input line 4458.
+Package hyperref Info: Backreferencing OFF on input line 4463.
+Package hyperref Info: Implicit mode OFF; no redefinition of LaTeX internals.
+Package hyperref Info: Bookmarks ON on input line 4688.
+\c@Hy@tempcnt=\count121
+
+(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty
+\Urlmuskip=\muskip10
+Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
+)
+LaTeX Info: Redefining \url on input line 5041.
+\XeTeXLinkMargin=\dimen165
+\Fld@menulength=\count122
+\Field@Width=\dimen166
+\Fld@charsize=\dimen167
+Package hyperref Info: Hyper figures OFF on input line 6295.
+Package hyperref Info: Link nesting OFF on input line 6300.
+Package hyperref Info: Hyper index ON on input line 6303.
+Package hyperref Info: backreferencing OFF on input line 6310.
+Package hyperref Info: Link coloring OFF on input line 6315.
+Package hyperref Info: Link coloring with OCG OFF on input line 6320.
+Package hyperref Info: PDF/A mode OFF on input line 6325.
+LaTeX Info: Redefining \ref on input line 6365.
+LaTeX Info: Redefining \pageref on input line 6369.
+\Hy@abspage=\count123
+
+
+Package hyperref Message: Stopped early.
+
+)
+
+Package hyperref Message: Driver (autodetected): hpdftex.
+
+(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
+File: hpdftex.def 2012/11/06 v6.83m Hyperref driver for pdfTeX
+\Fld@listcount=\count124
+\c@bookmark@seq@number=\count125
+
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
+Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
+Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
+82.
+))
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaserequires.sty
+Package: beamerbaserequires 2010/05/01  (rcs-revision efa082c6111d)
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty
+Package: beamerbasecompatibility 2012/05/01  (rcs-revision 67c48b3b652d)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasefont.sty
+Package: beamerbasefont 2015/01/05  (rcs-revision b4b4bee242e2)
+
+(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
+Package: amssymb 2013/01/14 v3.01 AMS font symbols
+
+(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty
+Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
+\@emptytoks=\toks26
+\symAMSa=\mathgroup4
+\symAMSb=\mathgroup5
+LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
+(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
+))
+(/usr/share/texlive/texmf-dist/tex/latex/sansmathaccent/sansmathaccent.sty
+Package: sansmathaccent 2013/03/28
+
+(/usr/share/texlive/texmf-dist/tex/latex/filehook/filehook.sty
+Package: filehook 2011/10/12 v0.5d Hooks for input files
+)))
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty
+Package: beamerbasetranslator 2010/06/11  (rcs-revision 85fd1cc7fc42)
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/translator.sty
+Package: translator 2010/06/12 ver 1.10
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/translator-language-
+mappings.tex)))
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasemisc.sty
+Package: beamerbasemisc 2013/09/03  (rcs-revision a55719c41d85)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty
+Package: beamerbasetwoscreens 2010/05/01  (rcs-revision efa082c6111d)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty
+Package: beamerbaseoverlay 2013/12/25  (rcs-revision f6bd5e3805da)
+\beamer@argscount=\count126
+\beamer@lastskipcover=\skip44
+\beamer@trivlistdepth=\count127
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetitle.sty
+Package: beamerbasetitle 2010/09/21  (rcs-revision f0446ed0b6ae)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasesection.sty
+Package: beamerbasesection 2013/06/07  (rcs-revision 60b9fe0f342f)
+\c@lecture=\count128
+\c@part=\count129
+\c@section=\count130
+\c@subsection=\count131
+\c@subsubsection=\count132
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframe.sty
+Package: beamerbaseframe 2014/02/20  (rcs-revision 4b8ceeeff434)
+\beamer@framebox=\box40
+\beamer@frametitlebox=\box41
+\beamer@zoombox=\box42
+\beamer@zoomcount=\count133
+\beamer@zoomframecount=\count134
+\beamer@frametextheight=\dimen168
+\c@subsectionslide=\count135
+\beamer@frametopskip=\skip45
+\beamer@framebottomskip=\skip46
+\beamer@frametopskipautobreak=\skip47
+\beamer@framebottomskipautobreak=\skip48
+\beamer@envbody=\toks27
+\framewidth=\dimen169
+\c@framenumber=\count136
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty
+Package: beamerbaseverbatim 2015/01/05  (rcs-revision 431510bb5890)
+\beamer@verbatimfileout=\write4
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty
+Package: beamerbaseframesize 2011/09/12  (rcs-revision 70f9d8411e54)
+\beamer@splitbox=\box43
+\beamer@autobreakcount=\count137
+\beamer@autobreaklastheight=\dimen170
+\beamer@frametitletoks=\toks28
+\beamer@framesubtitletoks=\toks29
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty
+Package: beamerbaseframecomponents 2013/10/18  (rcs-revision 5cf6c5555a45)
+\beamer@footins=\box44
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
+Package: beamerbasecolor 2015/02/21  (rcs-revision d944b04ee2d5)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasenotes.sty
+Package: beamerbasenotes 2012/12/19  (rcs-revision 1686da3db3c9)
+\beamer@frameboxcopy=\box45
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetoc.sty
+Package: beamerbasetoc 2015/03/08  (rcs-revision 7270298bbaae)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty
+Package: beamerbasetemplates 2010/05/01  (rcs-revision efa082c6111d)
+\beamer@sbttoks=\toks30
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty
+Package: beamerbaseauxtemplates 2014/06/30  (rcs-revision 580088513a67)
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty
+Package: beamerbaseboxes 2012/05/13  (rcs-revision 56972908a390)
+\bmb@box=\box46
+\bmb@colorbox=\box47
+\bmb@boxshadow=\box48
+\bmb@boxshadowball=\box49
+\bmb@boxshadowballlarge=\box50
+\bmb@temp=\dimen171
+\bmb@dima=\dimen172
+\bmb@dimb=\dimen173
+\bmb@prevheight=\dimen174
+)
+\beamer@blockheadheight=\dimen175
+))
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
+Package: beamerbaselocalstructure 2014/09/10  (rcs-revision 393f6dcff371)
+
+(/usr/share/texlive/texmf-dist/tex/latex/tools/enumerate.sty
+Package: enumerate 2015/07/23 v3.00 enumerate extensions (DPC)
+\@enLab=\toks31
+)
+\c@figure=\count138
+\c@table=\count139
+\abovecaptionskip=\skip49
+\belowcaptionskip=\skip50
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty
+Package: beamerbasenavigation 2015/02/27  (rcs-revision 923f4bf87efa)
+\beamer@section@min@dim=\dimen176
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
+Package: beamerbasetheorems 2010/06/06  (rcs-revision 7e7cc5e53e9d)
+
+(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
+Package: amsmath 2016/03/03 v2.15a AMS math features
+\@mathmargin=\skip51
+
+For additional information on amsmath, use the `?' option.
+(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
+Package: amstext 2000/06/29 v2.01 AMS text
+
+(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
+File: amsgen.sty 1999/11/30 v2.0 generic functions
+\@emptytoks=\toks32
+\ex@=\dimen177
+))
+(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
+Package: amsbsy 1999/11/29 v1.2d Bold Symbols
+\pmbraise@=\dimen178
+)
+(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
+Package: amsopn 1999/12/14 v2.01 operator names
+)
+\inf@bad=\count140
+LaTeX Info: Redefining \frac on input line 199.
+\uproot@=\count141
+\leftroot@=\count142
+LaTeX Info: Redefining \overline on input line 297.
+\classnum@=\count143
+\DOTSCASE@=\count144
+LaTeX Info: Redefining \ldots on input line 394.
+LaTeX Info: Redefining \dots on input line 397.
+LaTeX Info: Redefining \cdots on input line 518.
+\Mathstrutbox@=\box51
+\strutbox@=\box52
+\big@size=\dimen179
+LaTeX Font Info:    Redeclaring font encoding OML on input line 630.
+LaTeX Font Info:    Redeclaring font encoding OMS on input line 631.
+\macc@depth=\count145
+\c@MaxMatrixCols=\count146
+\dotsspace@=\muskip11
+\c@parentequation=\count147
+\dspbrk@lvl=\count148
+\tag@help=\toks33
+\row@=\count149
+\column@=\count150
+\maxfields@=\count151
+\andhelp@=\toks34
+\eqnshift@=\dimen180
+\alignsep@=\dimen181
+\tagshift@=\dimen182
+\tagwidth@=\dimen183
+\totwidth@=\dimen184
+\lineht@=\dimen185
+\@envbody=\toks35
+\multlinegap=\skip52
+\multlinetaggap=\skip53
+\mathdisplay@stack=\toks36
+LaTeX Info: Redefining \[ on input line 2735.
+LaTeX Info: Redefining \] on input line 2736.
+)
+(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty
+Package: amsthm 2015/03/04 v2.20.2
+\thm@style=\toks37
+\thm@bodyfont=\toks38
+\thm@headfont=\toks39
+\thm@notefont=\toks40
+\thm@headpunct=\toks41
+\thm@preskip=\skip54
+\thm@postskip=\skip55
+\thm@headsep=\skip56
+\dth@everypar=\toks42
+)
+\c@theorem=\count152
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasethemes.sty
+Package: beamerbasethemes 2010/05/01  (rcs-revision efa082c6111d)
+))
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/themes/theme/beamerthemedefault
+.sty
+Package: beamerthemedefault 2010/06/17  (rcs-revision d02a7cf4d8ae)
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/themes/font/beamerfontthemedefa
+ult.sty
+Package: beamerfontthemedefault 2012/12/19  (rcs-revision 1686da3db3c9)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/themes/color/beamercolorthemede
+fault.sty
+Package: beamercolorthemedefault 2012/12/19  (rcs-revision 1686da3db3c9)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/themes/inner/beamerinnerthemede
+fault.sty
+Package: beamerinnerthemedefault 2014/06/30  (rcs-revision 580088513a67)
+\beamer@dima=\dimen186
+\beamer@dimb=\dimen187
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/themes/outer/beamerouterthemede
+fault.sty
+Package: beamerouterthemedefault 2012/12/19  (rcs-revision 1686da3db3c9)
+))) (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
+Package: inputenc 2015/03/17 v1.2c Input encoding file
+\inpenc@prehook=\toks43
+\inpenc@posthook=\toks44
+
+(/usr/share/texlive/texmf-dist/tex/latex/ucs/utf8x.def
+File: utf8x.def 2004/10/17 UCS: Input encoding UTF-8
+))
+(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucs.sty
+Package: ucs 2013/05/11 v2.2 UCS: Unicode input support
+
+(/usr/share/texlive/texmf-dist/tex/latex/ucs/data/uni-global.def
+File: uni-global.def 2013/05/13 UCS: Unicode global data
+)
+\uc@secondtry=\count153
+\uc@combtoks=\toks45
+\uc@combtoksb=\toks46
+\uc@temptokena=\toks47
+)
+(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
+Package: babel 2016/02/24 3.9q The Babel package
+
+(/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf
+Language: english 2012/08/20 v3.3p English support from the babel system
+
+(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
+File: babel.def 2016/02/24 3.9q Babel common definitions
+\babel@savecnt=\count154
+\U@D=\dimen188
+LaTeX Info: Redefining \textlatin on input line 1448.
+)
+\l@canadian = a dialect from \language\l@american 
+\l@australian = a dialect from \language\l@british 
+\l@newzealand = a dialect from \language\l@british 
+))
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf.sty
+Package: epstopdf 2010/02/09 v2.5 Conversion with epstopdf on the fly (HO)
+
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
+Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
+
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
+Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
+)
+Package grfext Info: Graphics extension search list:
+(grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
+G,.JBIG2,.JB2,.eps]
+(grfext)             \AppendGraphicsExtensions on input line 452.
+
+(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
+File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
+e
+)))
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
+Package: pgf 2015/08/07 v3.0.1a (rcs-revision 1.15)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
+File: pgfmoduleshapes.code.tex 2014/03/21  (rcs-revision 1.35)
+\pgfnodeparttextbox=\box53
+) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
+File: pgfmoduleplot.code.tex 2015/08/03  (rcs-revision 1.13)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65
+.sty
+Package: pgfcomp-version-0-65 2007/07/03 v3.0.1a (rcs-revision 1.7)
+\pgf@nodesepstart=\dimen189
+\pgf@nodesepend=\dimen190
+)
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18
+.sty
+Package: pgfcomp-version-1-18 2007/07/23 v3.0.1a (rcs-revision 1.1)
+)) (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex))
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
+Package: pgffor 2013/12/13 v3.0.1a (rcs-revision 1.25)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)
+\pgffor@iter=\dimen191
+\pgffor@skip=\dimen192
+\pgffor@stack=\toks48
+\pgffor@toks=\toks49
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
+Package: tikz 2015/08/07 v3.0.1a (rcs-revision 1.151)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers
+.code.tex
+File: pgflibraryplothandlers.code.tex 2013/08/31 v3.0.1a (rcs-revision 1.20)
+\pgf@plot@mark@count=\count155
+\pgfplotmarksize=\dimen193
+)
+\tikz@lastx=\dimen194
+\tikz@lasty=\dimen195
+\tikz@lastxsaved=\dimen196
+\tikz@lastysaved=\dimen197
+\tikzleveldistance=\dimen198
+\tikzsiblingdistance=\dimen199
+\tikz@figbox=\box54
+\tikz@figbox@bg=\box55
+\tikz@tempbox=\box56
+\tikz@tempbox@bg=\box57
+\tikztreelevel=\count156
+\tikznumberofchildren=\count157
+\tikznumberofcurrentchild=\count158
+\tikz@fig@count=\count159
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
+File: pgfmodulematrix.code.tex 2013/09/17  (rcs-revision 1.8)
+\pgfmatrixcurrentrow=\count160
+\pgfmatrixcurrentcolumn=\count161
+\pgf@matrix@numberofcolumns=\count162
+)
+\tikz@expandcount=\count163
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibrarytopaths.code.tex
+File: tikzlibrarytopaths.code.tex 2008/06/17 v3.0.1a (rcs-revision 1.2)
+)))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibraryshapes.geometric.code.tex
+File: tikzlibraryshapes.geometric.code.tex 2008/01/09 v3.0.1a (rcs-revision 1.1
+)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibraryshape
+s.geometric.code.tex
+File: pgflibraryshapes.geometric.code.tex 2008/06/26 v3.0.1a (rcs-revision 1.1)
+
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibraryquotes.code.tex
+File: tikzlibraryquotes.code.tex 2014/03/21 v3.0.1a (rcs-revision 1.4)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibraryangles.code.tex
+File: tikzlibraryangles.code.tex 2013/08/28 v3.0.1a (rcs-revision 1.1)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd
+File: umsa.fd 2013/01/14 v3.01 AMS symbols A
+)
+(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd
+File: umsb.fd 2013/01/14 v3.01 AMS symbols B
+)
+
+Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+(hyperref)                removing `math shift' on input line 39.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+(hyperref)                removing `\@@underline' on input line 39.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+(hyperref)                removing `\hbox' on input line 39.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+(hyperref)                removing `\mathsurround' on input line 39.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+(hyperref)                removing `\z@' on input line 39.
+
+
+Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
+(hyperref)                removing `math shift' on input line 39.
+
+(./Presentation.aux)
+\openout1 = `Presentation.aux'.
+
+LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 45.
+LaTeX Font Info:    ... okay on input line 45.
+LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 45.
+LaTeX Font Info:    ... okay on input line 45.
+LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 45.
+LaTeX Font Info:    ... okay on input line 45.
+LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 45.
+LaTeX Font Info:    ... okay on input line 45.
+LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 45.
+LaTeX Font Info:    ... okay on input line 45.
+LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 45.
+LaTeX Font Info:    ... okay on input line 45.
+LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 45.
+LaTeX Font Info:    ... okay on input line 45.
+
+*geometry* driver: auto-detecting
+*geometry* detected driver: pdftex
+*geometry* verbose mode - [ preamble ] result:
+* driver: pdftex
+* paper: custom
+* layout: <same size as paper>
+* layoutoffset:(h,v)=(0.0pt,0.0pt)
+* modes: includehead includefoot 
+* h-part:(L,W,R)=(28.45274pt, 307.28987pt, 28.45274pt)
+* v-part:(T,H,B)=(0.0pt, 273.14662pt, 0.0pt)
+* \paperwidth=364.19536pt
+* \paperheight=273.14662pt
+* \textwidth=307.28987pt
+* \textheight=244.6939pt
+* \oddsidemargin=-43.81725pt
+* \evensidemargin=-43.81725pt
+* \topmargin=-72.26999pt
+* \headheight=14.22636pt
+* \headsep=0.0pt
+* \topskip=11.0pt
+* \footskip=14.22636pt
+* \marginparwidth=4.0pt
+* \marginparsep=10.0pt
+* \columnsep=10.0pt
+* \skip\footins=10.0pt plus 4.0pt minus 2.0pt
+* \hoffset=0.0pt
+* \voffset=0.0pt
+* \mag=1000
+* \@twocolumnfalse
+* \@twosidefalse
+* \@mparswitchfalse
+* \@reversemarginfalse
+* (1in=72.27pt=25.4mm, 1cm=28.453pt)
+
+(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
+[Loading MPS to PDF converter (version 2006.09.02).]
+\scratchcounter=\count164
+\scratchdimen=\dimen256
+\scratchbox=\box58
+\nofMPsegments=\count165
+\nofMParguments=\count166
+\everyMPshowfont=\toks50
+\MPscratchCnt=\count167
+\MPscratchDim=\dimen257
+\MPnumerator=\count168
+\makeMPintoPDFobject=\count169
+\everyMPtoPDFconversion=\toks51
+) ABD: EveryShipout initializing macros
+\AtBeginShipoutBox=\box59
+Package hyperref Info: Link coloring OFF on input line 45.
+
+(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
+Package: nameref 2012/10/27 v2.43 Cross-referencing by name of section
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
+Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
+)
+\c@section@level=\count170
+)
+LaTeX Info: Redefining \ref on input line 45.
+LaTeX Info: Redefining \pageref on input line 45.
+LaTeX Info: Redefining \nameref on input line 45.
+
+(./Presentation.out) (./Presentation.out)
+\@outlinefile=\write5
+\openout5 = `Presentation.out'.
+
+LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
+(Font)                  OT1/cmr/m/n --> OT1/cmss/m/n on input line 45.
+LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
+(Font)                  OT1/cmr/bx/n --> OT1/cmss/bx/n on input line 45.
+\symnumbers=\mathgroup6
+\sympureletters=\mathgroup7
+LaTeX Font Info:    Overwriting math alphabet `\mathrm' in version `normal'
+(Font)                  OT1/cmss/m/n --> OT1/cmr/m/n on input line 45.
+LaTeX Font Info:    Redeclaring math alphabet \mathbf on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
+(Font)                  OT1/cmr/bx/n --> OT1/cmss/bx/n on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `bold'
+(Font)                  OT1/cmr/bx/n --> OT1/cmss/bx/n on input line 45.
+LaTeX Font Info:    Redeclaring math alphabet \mathsf on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
+(Font)                  OT1/cmss/m/n --> OT1/cmss/m/n on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
+(Font)                  OT1/cmss/bx/n --> OT1/cmss/m/n on input line 45.
+LaTeX Font Info:    Redeclaring math alphabet \mathit on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
+(Font)                  OT1/cmr/m/it --> OT1/cmss/m/it on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
+(Font)                  OT1/cmr/bx/it --> OT1/cmss/m/it on input line 45.
+LaTeX Font Info:    Redeclaring math alphabet \mathtt on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
+(Font)                  OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
+(Font)                  OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 45.
+LaTeX Font Info:    Overwriting symbol font `numbers' in version `bold'
+(Font)                  OT1/cmss/m/n --> OT1/cmss/bx/n on input line 45.
+LaTeX Font Info:    Overwriting symbol font `pureletters' in version `bold'
+(Font)                  OT1/cmss/m/it --> OT1/cmss/bx/it on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathrm' in version `bold'
+(Font)                  OT1/cmss/bx/n --> OT1/cmr/bx/n on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `bold'
+(Font)                  OT1/cmss/bx/n --> OT1/cmss/bx/n on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
+(Font)                  OT1/cmss/m/n --> OT1/cmss/bx/n on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
+(Font)                  OT1/cmss/m/it --> OT1/cmss/bx/it on input line 45.
+LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
+(Font)                  OT1/cmtt/m/n --> OT1/cmtt/bx/n on input line 45.
+LaTeX Font Info:    Redeclaring symbol font `pureletters' on input line 45.
+LaTeX Font Info:    Overwriting symbol font `pureletters' in version `normal'
+(Font)                  OT1/cmss/m/it --> OT1/mathkerncmss/m/sl on input line 4
+5.
+LaTeX Font Info:    Overwriting symbol font `pureletters' in version `bold'
+(Font)                  OT1/cmss/bx/it --> OT1/mathkerncmss/m/sl on input line 
+45.
+LaTeX Font Info:    Overwriting symbol font `pureletters' in version `bold'
+(Font)                  OT1/mathkerncmss/m/sl --> OT1/mathkerncmss/bx/sl on inp
+ut line 45.
+
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/dicts/translator-bas
+ic-dictionary/translator-basic-dictionary-English.dict
+Dictionary: translator-basic-dictionary, Language: English 
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/dicts/translator-bib
+liography-dictionary/translator-bibliography-dictionary-English.dict
+Dictionary: translator-bibliography-dictionary, Language: English 
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/dicts/translator-env
+ironment-dictionary/translator-environment-dictionary-English.dict
+Dictionary: translator-environment-dictionary, Language: English 
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/dicts/translator-mon
+ths-dictionary/translator-months-dictionary-English.dict
+Dictionary: translator-months-dictionary, Language: English 
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/dicts/translator-num
+bers-dictionary/translator-numbers-dictionary-English.dict
+Dictionary: translator-numbers-dictionary, Language: English 
+)
+(/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/dicts/translator-the
+orem-dictionary/translator-theorem-dictionary-English.dict
+Dictionary: translator-theorem-dictionary, Language: English 
+)
+LaTeX Info: Redefining \includegraphics on input line 45.
+
+(/usr/share/texlive/texmf-dist/tex/latex/ucs/ucsencs.def
+File: ucsencs.def 2011/01/21 Fixes to fontencodings LGR, T3
+) (./Presentation.nav)
+LaTeX Font Info:    Try loading font information for OT1+mathkerncmss on input 
+line 49.
+
+(/usr/share/texlive/texmf-dist/tex/latex/sansmathaccent/ot1mathkerncmss.fd
+File: ot1mathkerncmss.fd 2013/03/27 Fontinst v1.933 font definitions for OT1/ma
+thkerncmss.
+)
+
+LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
+(Font)              size <5> substituted on input line 49.
+
+[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}
+
+]
+Package epstopdf Info: Source file: <../plots/bgs.eps>
+(epstopdf)                    date: 2017-07-13 14:55:55
+(epstopdf)                    size: 61390 bytes
+(epstopdf)             Output file: <../plots/bgs-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:10
+(epstopdf)                    size: 21677 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/bgs-eps-converted
+-to.pdf ../plots/bgs.eps>
+(epstopdf)             \includegraphics on input line 58.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/bgs-eps-converted-to.pdf, id=44, 421.575pt x 316.18124pt>
+File: ../plots/bgs-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/bgs-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/bgs-eps-converted-to.pdf used on input line 5
+8.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/xpos.eps>
+(epstopdf)                    date: 2017-07-13 14:56:04
+(epstopdf)                    size: 44013 bytes
+(epstopdf)             Output file: <../plots/xpos-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:11
+(epstopdf)                    size: 16443 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/xpos-eps-converte
+d-to.pdf ../plots/xpos.eps>
+(epstopdf)             \includegraphics on input line 58.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/xpos-eps-converted-to.pdf, id=45, 414.54875pt x 311.1625pt>
+File: ../plots/xpos-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/xpos-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/xpos-eps-converted-to.pdf used on input line 
+58.
+(pdftex.def)             Requested size: 153.64493pt x 115.32298pt.
+ [2
+
+ <../plots/bgs-eps-converted-to.pdf> <../plots/xpos-eps-converted-to.pdf>]
+Package epstopdf Info: Source file: <../plots/LPM_hq.eps>
+(epstopdf)                    date: 2017-07-13 14:54:57
+(epstopdf)                    size: 689618 bytes
+(epstopdf)             Output file: <../plots/LPM_hq-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:11
+(epstopdf)                    size: 170109 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/LPM_hq-eps-conver
+ted-to.pdf ../plots/LPM_hq.eps>
+(epstopdf)             \includegraphics on input line 65.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/LPM_hq-eps-converted-to.pdf, id=88, 421.575pt x 316.18124pt>
+File: ../plots/LPM_hq-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/LPM_hq-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/LPM_hq-eps-converted-to.pdf used on input lin
+e 65.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/LPM_lq.eps>
+(epstopdf)                    date: 2017-07-13 14:54:47
+(epstopdf)                    size: 133125 bytes
+(epstopdf)             Output file: <../plots/LPM_lq-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:12
+(epstopdf)                    size: 42013 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/LPM_lq-eps-conver
+ted-to.pdf ../plots/LPM_lq.eps>
+(epstopdf)             \includegraphics on input line 65.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/LPM_lq-eps-converted-to.pdf, id=89, 421.575pt x 316.18124pt>
+File: ../plots/LPM_lq-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/LPM_lq-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/LPM_lq-eps-converted-to.pdf used on input lin
+e 65.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+ [3
+
+ <../plots/LPM_hq-eps-converted-to.pdf> <../plots/LPM_lq-eps-converted-to.pdf>]
+Package epstopdf Info: Source file: <../plots/spmMAY.eps>
+(epstopdf)                    date: 2017-07-13 14:56:55
+(epstopdf)                    size: 441345 bytes
+(epstopdf)             Output file: <../plots/spmMAY-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:12
+(epstopdf)                    size: 104017 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/spmMAY-eps-conver
+ted-to.pdf ../plots/spmMAY.eps>
+(epstopdf)             \includegraphics on input line 72.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/spmMAY-eps-converted-to.pdf, id=131, 421.575pt x 316.18124pt>
+File: ../plots/spmMAY-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/spmMAY-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/spmMAY-eps-converted-to.pdf used on input lin
+e 72.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/spmMAYa.eps>
+(epstopdf)                    date: 2017-07-13 14:57:38
+(epstopdf)                    size: 440255 bytes
+(epstopdf)             Output file: <../plots/spmMAYa-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:12
+(epstopdf)                    size: 104398 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/spmMAYa-eps-conve
+rted-to.pdf ../plots/spmMAYa.eps>
+(epstopdf)             \includegraphics on input line 72.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/spmMAYa-eps-converted-to.pdf, id=132, 421.575pt x 316.18124pt>
+File: ../plots/spmMAYa-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/spmMAYa-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/spmMAYa-eps-converted-to.pdf used on input li
+ne 72.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/spmMAY2.eps>
+(epstopdf)                    date: 2017-07-13 14:57:09
+(epstopdf)                    size: 1337652 bytes
+(epstopdf)             Output file: <../plots/spmMAY2-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:13
+(epstopdf)                    size: 306421 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/spmMAY2-eps-conve
+rted-to.pdf ../plots/spmMAY2.eps>
+(epstopdf)             \includegraphics on input line 72.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/spmMAY2-eps-converted-to.pdf, id=133, 421.575pt x 316.18124pt>
+File: ../plots/spmMAY2-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/spmMAY2-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/spmMAY2-eps-converted-to.pdf used on input li
+ne 72.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+
+Overfull \vbox (5.73062pt too high) detected at line 72
+ []
+
+[4
+
+ <../plots/spmMAY-eps-converted-to.pdf> <../plots/spmMAYa-eps-converted-to.pdf>
+ <../plots/spmMAY2-eps-converted-to.pdf>]
+Package epstopdf Info: Source file: <../plots/BKGpolar.eps>
+(epstopdf)                    date: 2017-07-17 16:53:39
+(epstopdf)                    size: 113982 bytes
+(epstopdf)             Output file: <../plots/BKGpolar-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-17 16:56:41
+(epstopdf)                    size: 37657 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/BKGpolar-eps-conv
+erted-to.pdf ../plots/BKGpolar.eps>
+(epstopdf)             \includegraphics on input line 78.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/BKGpolar-eps-converted-to.pdf, id=184, 421.575pt x 316.18124pt>
+File: ../plots/BKGpolar-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/BKGpolar-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/BKGpolar-eps-converted-to.pdf used on input l
+ine 78.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/Polarization.eps>
+(epstopdf)                    date: 2017-07-13 14:57:53
+(epstopdf)                    size: 118912 bytes
+(epstopdf)             Output file: <../plots/Polarization-eps-converted-to.pdf
+>
+(epstopdf)                    date: 2017-07-13 15:47:13
+(epstopdf)                    size: 38652 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/Polarization-eps-
+converted-to.pdf ../plots/Polarization.eps>
+(epstopdf)             \includegraphics on input line 78.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/Polarization-eps-converted-to.pdf, id=185, 421.575pt x 316.18124pt>
+File: ../plots/Polarization-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/Polarization-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/Polarization-eps-converted-to.pdf used on inp
+ut line 78.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+ [5
+
+ <../plots/BKGpolar-eps-converted-to.pdf> <../plots/Polarization-eps-converted-
+to.pdf>]
+Package epstopdf Info: Source file: <../plots/z145b.eps>
+(epstopdf)                    date: 2017-07-27 10:44:23
+(epstopdf)                    size: 192793 bytes
+(epstopdf)             Output file: <../plots/z145b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:50
+(epstopdf)                    size: 48877 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/z145b-eps-convert
+ed-to.pdf ../plots/z145b.eps>
+(epstopdf)             \includegraphics on input line 86.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/z145b-eps-converted-to.pdf, id=227, 421.575pt x 316.18124pt>
+File: ../plots/z145b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/z145b-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/z145b-eps-converted-to.pdf used on input line
+ 86.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/z15b.eps>
+(epstopdf)                    date: 2017-07-27 10:44:36
+(epstopdf)                    size: 187330 bytes
+(epstopdf)             Output file: <../plots/z15b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:51
+(epstopdf)                    size: 47622 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/z15b-eps-converte
+d-to.pdf ../plots/z15b.eps>
+(epstopdf)             \includegraphics on input line 86.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/z15b-eps-converted-to.pdf, id=228, 421.575pt x 316.18124pt>
+File: ../plots/z15b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/z15b-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/z15b-eps-converted-to.pdf used on input line 
+86.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/z155b.eps>
+(epstopdf)                    date: 2017-07-27 10:44:48
+(epstopdf)                    size: 192414 bytes
+(epstopdf)             Output file: <../plots/z155b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:51
+(epstopdf)                    size: 48730 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/z155b-eps-convert
+ed-to.pdf ../plots/z155b.eps>
+(epstopdf)             \includegraphics on input line 86.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/z155b-eps-converted-to.pdf, id=229, 421.575pt x 316.18124pt>
+File: ../plots/z155b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/z155b-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/z155b-eps-converted-to.pdf used on input line
+ 86.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+Package epstopdf Info: Source file: <../plots/z16b.eps>
+(epstopdf)                    date: 2017-07-27 10:45:00
+(epstopdf)                    size: 210238 bytes
+(epstopdf)             Output file: <../plots/z16b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:51
+(epstopdf)                    size: 53091 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/z16b-eps-converte
+d-to.pdf ../plots/z16b.eps>
+(epstopdf)             \includegraphics on input line 86.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/z16b-eps-converted-to.pdf, id=230, 421.575pt x 316.18124pt>
+File: ../plots/z16b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/z16b-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/z16b-eps-converted-to.pdf used on input line 
+86.
+(pdftex.def)             Requested size: 153.64493pt x 115.23392pt.
+
+Overfull \vbox (5.73062pt too high) detected at line 86
+ []
+
+[6
+
+ <../plots/z145b-eps-converted-to.pdf> <../plots/z15b-eps-converted-to.pdf> <..
+/plots/z155b-eps-converted-to.pdf> <../plots/z16b-eps-converted-to.pdf>]
+Package epstopdf Info: Source file: <../plots/polZb.eps>
+(epstopdf)                    date: 2017-07-27 10:45:17
+(epstopdf)                    size: 63632 bytes
+(epstopdf)             Output file: <../plots/polZb-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:52
+(epstopdf)                    size: 19062 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/polZb-eps-convert
+ed-to.pdf ../plots/polZb.eps>
+(epstopdf)             \includegraphics on input line 91.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/polZb-eps-converted-to.pdf, id=289, 421.575pt x 316.18124pt>
+File: ../plots/polZb-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/polZb-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/polZb-eps-converted-to.pdf used on input line
+ 91.
+(pdftex.def)             Requested size: 245.83282pt x 184.37909pt.
+ [7
+
+ <../plots/polZb-eps-converted-to.pdf>] [8
+
+]
+Overfull \hbox (14.18022pt too wide) in paragraph at lines 146--146
+[][]  
+ []
+
+[9
+
+]
+Package epstopdf Info: Source file: <../plots/correction.eps>
+(epstopdf)                    date: 2017-07-13 15:08:19
+(epstopdf)                    size: 85600 bytes
+(epstopdf)             Output file: <../plots/correction-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:25
+(epstopdf)                    size: 21729 bytes
+(epstopdf)             Command: <repstopdf --outfile=../plots/correction-eps-co
+nverted-to.pdf ../plots/correction.eps>
+(epstopdf)             \includegraphics on input line 152.
+Package epstopdf Info: Output file is already uptodate.
+
+<../plots/correction-eps-converted-to.pdf, id=372, 421.575pt x 316.18124pt>
+File: ../plots/correction-eps-converted-to.pdf Graphic file (type pdf)
+
+<use ../plots/correction-eps-converted-to.pdf>
+Package pdftex.def Info: ../plots/correction-eps-converted-to.pdf used on input
+ line 152.
+(pdftex.def)             Requested size: 245.83282pt x 184.37909pt.
+ [10
+
+ <../plots/correction-eps-converted-to.pdf>]
+\tf@nav=\write6
+\openout6 = `Presentation.nav'.
+
+\tf@toc=\write7
+\openout7 = `Presentation.toc'.
+
+\tf@snm=\write8
+\openout8 = `Presentation.snm'.
+
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line 153.
+Package atveryend Info: Empty hook `AfterLastShipout' on input line 153.
+ (./Presentation.aux)
+Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 153.
+Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 153.
+Package rerunfilecheck Info: File `Presentation.out' has not changed.
+(rerunfilecheck)             Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
+
+
+LaTeX Font Warning: Size substitutions with differences
+(Font)              up to 1.0pt have occurred.
+
+Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 153.
+ ) 
+Here is how much of TeX's memory you used:
+ 20903 strings out of 493029
+ 415753 string characters out of 6136235
+ 510591 words of memory out of 5000000
+ 23921 multiletter control sequences out of 15000+600000
+ 11578 words of font info for 42 fonts, out of 8000000 for 9000
+ 1141 hyphenation exceptions out of 8191
+ 56i,14n,59p,420b,912s stack positions out of 5000i,500n,10000p,200000b,80000s
+</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></us
+r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmss10.pfb></usr/shar
+e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmss12.pfb></usr/share/texl
+ive/texmf-dist/fonts/type1/public/amsfonts/cm/cmss8.pfb></usr/share/texlive/tex
+mf-dist/fonts/type1/public/amsfonts/cm/cmssbx10.pfb></usr/share/texlive/texmf-d
+ist/fonts/type1/public/amsfonts/cm/cmssi10.pfb>
+Output written on Presentation.pdf (10 pages, 1101499 bytes).
+PDF statistics:
+ 430 PDF objects out of 1000 (max. 8388607)
+ 359 compressed objects within 4 object streams
+ 21 named destinations out of 1000 (max. 500000)
+ 118 words of extra memory for PDF output out of 10000 (max. 10000000)
+
Index: /SPESO/SPESO_Polariz/report/Presentation/Presentation.nav
===================================================================
--- /SPESO/SPESO_Polariz/report/Presentation/Presentation.nav	(revision 735)
+++ /SPESO/SPESO_Polariz/report/Presentation/Presentation.nav	(revision 735)
@@ -0,0 +1,26 @@
+\beamer@endinputifotherversion {3.36pt}
+\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}
+\headcommand {\beamer@framepages {1}{1}}
+\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}
+\headcommand {\beamer@framepages {2}{2}}
+\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}}
+\headcommand {\beamer@framepages {3}{3}}
+\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}}
+\headcommand {\beamer@framepages {4}{4}}
+\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}}
+\headcommand {\beamer@framepages {5}{5}}
+\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}}
+\headcommand {\beamer@framepages {6}{6}}
+\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}}
+\headcommand {\beamer@framepages {7}{7}}
+\headcommand {\slideentry {0}{0}{8}{8/8}{}{0}}
+\headcommand {\beamer@framepages {8}{8}}
+\headcommand {\slideentry {0}{0}{9}{9/9}{}{0}}
+\headcommand {\beamer@framepages {9}{9}}
+\headcommand {\slideentry {0}{0}{10}{10/10}{}{0}}
+\headcommand {\beamer@framepages {10}{10}}
+\headcommand {\beamer@partpages {1}{10}}
+\headcommand {\beamer@subsectionpages {1}{10}}
+\headcommand {\beamer@sectionpages {1}{10}}
+\headcommand {\beamer@documentpages {10}}
+\headcommand {\def \inserttotalframenumber {10}}
Index: /SPESO/SPESO_Polariz/report/Presentation/Presentation.tex
===================================================================
--- /SPESO/SPESO_Polariz/report/Presentation/Presentation.tex	(revision 735)
+++ /SPESO/SPESO_Polariz/report/Presentation/Presentation.tex	(revision 735)
@@ -0,0 +1,155 @@
+\documentclass[1pt]{beamer}
+\usepackage[utf8x]{inputenc}
+\usepackage[english]{babel}
+\usepackage{graphicx}
+%\usetheme{Dresden}
+\usepackage{epstopdf}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\definecolor{elephant-white}{HTML}{FFFFF0}
+\definecolor{gold}{HTML}{FFD700}
+\definecolor{steel}{HTML}{4682B4}
+\setbeamercolor{background canvas}{bg=elephant-white}
+\setbeamercolor{normal text}{bg=black,fg=black}
+\setbeamercolor{structure}{bg=gold, fg=black}
+\graphicspath{{../plots/}}
+
+\addtobeamertemplate{navigation symbols}{}{%
+    \usebeamerfont{footline}%
+    \usebeamercolor[fg]{footline}%
+    \hspace{1em}%
+    \insertframenumber/\inserttotalframenumber
+}
+%\usebackgroundtemplate{\includegraphics[width=17cm]{2.jpg}}
+\usepackage{tikz}
+\usetikzlibrary{shapes.geometric}
+\usetikzlibrary{quotes,angles}
+\tikzset{
+    buffer/.style={
+        draw,
+        shape border rotate=180,
+        regular polygon,
+        regular polygon sides=3,
+        fill=orange,
+        node distance=2cm,
+        minimum height=4em
+    }
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
+\author{\underline{Khodnevych Vitalii}}
+\institute{LAL}
+\title{\textbf{Measurements of Smith-Purcell radiation on SOLEIL} }
+\date{\today}
+
+
+\begin{document}
+
+\begin{frame}
+ \maketitle
+\end{frame}
+
+
+
+\begin{frame}{BGS, Xpos}
+\begin{center}
+  \includegraphics[width=0.5\linewidth]{bgs.eps}
+  \includegraphics[width=0.5\linewidth]{xpos.eps}
+\end{center}
+\end{frame}
+
+\begin{frame}{LPM}
+\begin{center}
+  \includegraphics[width=0.5\linewidth]{LPM_hq.eps}
+  \includegraphics[width=0.5\linewidth]{LPM_lq.eps}
+  \end{center}
+\end{frame}
+\begin{frame}{SPM}
+\begin{center}
+  \includegraphics[width=0.5\linewidth]{spmMAY.eps}
+  \includegraphics[width=0.5\linewidth]{spmMAYa.eps}\\
+    \includegraphics[width=0.5\linewidth]{spmMAY2.eps}
+    \end{center}
+\end{frame}
+\begin{frame}{Polarization}
+\begin{center}
+  \includegraphics[width=0.5\linewidth]{BKGpolar.eps}
+  \includegraphics[width=0.5\linewidth]{Polarization.eps}
+\end{center}
+\end{frame}
+\begin{frame}{Z axis}
+\begin{center}
+  \includegraphics[width=0.5\linewidth]{z145b.eps}
+  \includegraphics[width=0.5\linewidth]{z15b.eps}\\
+  \includegraphics[width=0.5\linewidth]{z155b.eps}
+  \includegraphics[width=0.5\linewidth]{z16b.eps}
+  \end{center}
+\end{frame}
+\begin{frame}{Polarization}
+\begin{center}  
+  \includegraphics[width=0.8\linewidth]{polZb.eps}
+\end{center}
+\end{frame}
+
+\begin{frame}{Conclusion}
+Basic check of Smith-Purcell radiation properties was done at SPESO. 
+Measurements of polarization of Smith-Purcell radiation require further investigation, as at this moment its not agreed with theory.
+\end{frame}
+
+\begin{frame}{Corrections}
+\begin{tikzpicture}[scale=0.9]
+
+
+\draw[thick,red] (-4.5,-4) -- (4,0);
+\draw[thick,red](-4.5,-4) -- (-4,0);
+\draw[thick,green] (2,-4) -- (4,0);
+\draw[thick,green] (2,-4) -- (-4,0);
+\draw[black,thick,dashed] (2,-4) -- (4.3,0);
+\draw[black,thick,dashed] (2,-4) -- (-0.3,0);
+\draw[black,thick,dashed] (-4.5,-4) -- (-6.8,0);
+\draw[black,thick,dashed] (-4.5,-4) -- (-2.2,0);
+\draw[black,dashed] (-4.5,-4) -- (-4.5,0.1);
+\draw[black,dashed] (2,-4) -- (2,0.1);
+\draw[black,thick,dashed] (0,-4.5) -- (0,0.5);
+\draw[black, <->] (4.2,-4) -- (4.2,0);
+\draw[black, <->] (-4,0.2) -- (4,0.2);
+\node[text width=0.5cm] at (0,0.5)     {L};
+
+\node[text width=0.5cm] at (5,-2)     {H};
+\node[text width=0.5cm] at (0,-4.2)     {0};
+\node[text width=0.5cm] at (2,-4.2)     {$x_1$};
+\node[text width=0.5cm] at (-4.5,-4.2)     {$x_2$};
+
+\filldraw[fill=gray, draw=black] (-4,0) rectangle (4,0.1);
+
+
+    \coordinate (C) at (-4.5,0);
+        \coordinate (A) at (-4.5,-4);
+    \coordinate (B) at (-4,0);
+    \pic [draw, <-, "$\gamma_1$", angle eccentricity=1.2,angle radius=2cm] {angle = B--A--C};
+        \coordinate (B) at (4,0);
+    \pic [draw, <-, "$\gamma_2$", angle eccentricity=1.2,angle radius=1.9cm] {angle = B--A--C};
+        \coordinate (C) at (-4,0);
+        \coordinate (A) at (2,-4);
+    \coordinate (B) at (2,0);
+    \pic [draw, <-, "$\beta_1$", angle eccentricity=1.2,angle radius=1.9cm] {angle = B--A--C};
+        \coordinate (C) at (4,0);
+
+    \pic [draw, ->, "$\beta_2$", angle eccentricity=1.2,angle radius=1.9cm] {angle = C--A--B};
+
+\node[buffer] at (-4.5, -3)  {\ D\ } ;
+\node[buffer] at (2, -3) {\ D\ } ;
+
+\draw[thick,->] (-7,-4.) -- (5,-4.) node[anchor=north west] {S};
+%\filldraw[fill=gray, draw=white] (7,0) rectangle (15,0.1);
+
+\end{tikzpicture}
+\end{frame}
+
+\begin{frame}{Corrections}
+\centering
+  \includegraphics[width=0.8\linewidth]{correction.eps}
+
+\end{frame}
+\end{document}
+
+
Index: /SPESO/SPESO_Polariz/report/Presentation/Presentation.toc
===================================================================
--- /SPESO/SPESO_Polariz/report/Presentation/Presentation.toc	(revision 735)
+++ /SPESO/SPESO_Polariz/report/Presentation/Presentation.toc	(revision 735)
@@ -0,0 +1,2 @@
+\beamer@endinputifotherversion {3.36pt}
+\select@language {english}
Index: /SPESO/SPESO_Polariz/report/main.aux
===================================================================
--- /SPESO/SPESO_Polariz/report/main.aux	(revision 735)
+++ /SPESO/SPESO_Polariz/report/main.aux	(revision 735)
@@ -0,0 +1,53 @@
+\relax 
+\citation{Doucas_Theory_1998}
+\citation{PhysRevSTAB.5.072802,Doucas:2006ci}
+\citation{andrews:in2p3-00998721}
+\citation{NIMA_SP_2014,delerue:in2p3-01322190}
+\citation{SOLEIL_Linac}
+\citation{NIMA_SP_2014}
+\providecommand\tcolorbox@label[2]{}
+\@writefile{toc}{\contentsline {section}{\numberline {1}Introduction}{1}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}Geometry @ 28/07/2017}{1}}
+\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces The SPESO experiment in the SOLEIL Linac. \relax }}{2}}
+\providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}}
+\newlabel{fig:experimental-setup}{{1}{2}}
+\@writefile{toc}{\contentsline {section}{\numberline {2}Check of basic properties of SPR}{3}}
+\newlabel{bgs}{{2a}{3}}
+\newlabel{sub@bgs}{{a}{3}}
+\newlabel{xpos}{{2b}{3}}
+\newlabel{sub@xpos}{{b}{3}}
+\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Experimental data\relax }}{3}}
+\newlabel{}{{2}{3}}
+\@writefile{toc}{\contentsline {section}{\numberline {3}Spectrum of SPR in Long Pulse Mode}{4}}
+\newlabel{lpml}{{3a}{4}}
+\newlabel{sub@lpml}{{a}{4}}
+\newlabel{lpmr}{{3b}{4}}
+\newlabel{sub@lpmr}{{b}{4}}
+\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Experimental results\relax }}{4}}
+\newlabel{lpm}{{3}{4}}
+\@writefile{toc}{\contentsline {section}{\numberline {4}Spectrum of SPR in Short Pulse Mode}{5}}
+\newlabel{rsch}{{4a}{5}}
+\newlabel{sub@rsch}{{a}{5}}
+\@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces Experimental results. \relax }}{5}}
+\newlabel{spm2}{{4}{5}}
+\newlabel{rsc}{{5a}{6}}
+\newlabel{sub@rsc}{{a}{6}}
+\@writefile{lof}{\contentsline {figure}{\numberline {5}{\ignorespaces Experimental results. \relax }}{6}}
+\newlabel{spm}{{5}{6}}
+\newlabel{polarb}{{6a}{6}}
+\newlabel{sub@polarb}{{a}{6}}
+\newlabel{polar}{{6b}{6}}
+\newlabel{sub@polar}{{b}{6}}
+\@writefile{lof}{\contentsline {figure}{\numberline {6}{\ignorespaces Experimental results. Polarization\relax }}{6}}
+\newlabel{}{{6}{6}}
+\@writefile{toc}{\contentsline {section}{\numberline {5}Z axis ($\phi $)}{6}}
+\newlabel{polz}{{7f}{7}}
+\newlabel{sub@polz}{{f}{7}}
+\@writefile{lof}{\contentsline {figure}{\numberline {7}{\ignorespaces Experimental results. SPR spectrums as function of vertical detector displacement.Short pulse mode, grating position = 1450000, $QICT_1$ = $0.41\pm 0.01$, $QICT_2$ = $0.36\pm 0.02$, $RS_1$ = 2, $RS_2$ = -45, $RS_4$ = -3, XPOS = 10000, ZPOS, $RS_3$ and SPOS are changing. \relax }}{7}}
+\newlabel{zzz}{{7}{7}}
+\@writefile{toc}{\contentsline {section}{\numberline {6}Next steps}{8}}
+\@writefile{toc}{\contentsline {section}{\numberline {7}Appendix}{9}}
+\@writefile{lof}{\contentsline {figure}{\numberline {8}{\ignorespaces Geometrical corrections\relax }}{9}}
+\newlabel{tikz}{{8}{9}}
+\@writefile{lof}{\contentsline {figure}{\numberline {9}{\ignorespaces Geometrical corrections\relax }}{9}}
+\newlabel{appx}{{9}{9}}
Index: /SPESO/SPESO_Polariz/report/main.log
===================================================================
--- /SPESO/SPESO_Polariz/report/main.log	(revision 735)
+++ /SPESO/SPESO_Polariz/report/main.log	(revision 735)
@@ -0,0 +1,1300 @@
+This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex 2017.5.5)  24 AUG 2017 17:08
+entering extended mode
+ restricted \write18 enabled.
+ %&-line parsing enabled.
+**main.tex
+(./main.tex
+LaTeX2e <2016/02/01>
+Babel <3.9q> and hyphenation patterns for 81 language(s) loaded.
+(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
+Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
+(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo
+File: size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
+)
+\c@part=\count79
+\c@section=\count80
+\c@subsection=\count81
+\c@subsubsection=\count82
+\c@paragraph=\count83
+\c@subparagraph=\count84
+\c@figure=\count85
+\c@table=\count86
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+)
+(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
+Package: inputenc 2015/03/17 v1.2c Input encoding file
+\inpenc@prehook=\toks14
+\inpenc@posthook=\toks15
+
+(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
+File: utf8.def 2015/12/03 v1.1r UTF-8 support for inputenc
+Now handling font encoding OML ...
+... no UTF-8 mapping file for font encoding OML
+Now handling font encoding T1 ...
+... processing UTF-8 mapping file for font encoding T1
+
+(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu
+File: t1enc.dfu 2015/12/03 v1.1r UTF-8 support for inputenc
+   defining Unicode char U+00A0 (decimal 160)
+   defining Unicode char U+00A1 (decimal 161)
+   defining Unicode char U+00A3 (decimal 163)
+   defining Unicode char U+00AB (decimal 171)
+   defining Unicode char U+00AD (decimal 173)
+   defining Unicode char U+00BB (decimal 187)
+   defining Unicode char U+00BF (decimal 191)
+   defining Unicode char U+00C0 (decimal 192)
+   defining Unicode char U+00C1 (decimal 193)
+   defining Unicode char U+00C2 (decimal 194)
+   defining Unicode char U+00C3 (decimal 195)
+   defining Unicode char U+00C4 (decimal 196)
+   defining Unicode char U+00C5 (decimal 197)
+   defining Unicode char U+00C6 (decimal 198)
+   defining Unicode char U+00C7 (decimal 199)
+   defining Unicode char U+00C8 (decimal 200)
+   defining Unicode char U+00C9 (decimal 201)
+   defining Unicode char U+00CA (decimal 202)
+   defining Unicode char U+00CB (decimal 203)
+   defining Unicode char U+00CC (decimal 204)
+   defining Unicode char U+00CD (decimal 205)
+   defining Unicode char U+00CE (decimal 206)
+   defining Unicode char U+00CF (decimal 207)
+   defining Unicode char U+00D0 (decimal 208)
+   defining Unicode char U+00D1 (decimal 209)
+   defining Unicode char U+00D2 (decimal 210)
+   defining Unicode char U+00D3 (decimal 211)
+   defining Unicode char U+00D4 (decimal 212)
+   defining Unicode char U+00D5 (decimal 213)
+   defining Unicode char U+00D6 (decimal 214)
+   defining Unicode char U+00D8 (decimal 216)
+   defining Unicode char U+00D9 (decimal 217)
+   defining Unicode char U+00DA (decimal 218)
+   defining Unicode char U+00DB (decimal 219)
+   defining Unicode char U+00DC (decimal 220)
+   defining Unicode char U+00DD (decimal 221)
+   defining Unicode char U+00DE (decimal 222)
+   defining Unicode char U+00DF (decimal 223)
+   defining Unicode char U+00E0 (decimal 224)
+   defining Unicode char U+00E1 (decimal 225)
+   defining Unicode char U+00E2 (decimal 226)
+   defining Unicode char U+00E3 (decimal 227)
+   defining Unicode char U+00E4 (decimal 228)
+   defining Unicode char U+00E5 (decimal 229)
+   defining Unicode char U+00E6 (decimal 230)
+   defining Unicode char U+00E7 (decimal 231)
+   defining Unicode char U+00E8 (decimal 232)
+   defining Unicode char U+00E9 (decimal 233)
+   defining Unicode char U+00EA (decimal 234)
+   defining Unicode char U+00EB (decimal 235)
+   defining Unicode char U+00EC (decimal 236)
+   defining Unicode char U+00ED (decimal 237)
+   defining Unicode char U+00EE (decimal 238)
+   defining Unicode char U+00EF (decimal 239)
+   defining Unicode char U+00F0 (decimal 240)
+   defining Unicode char U+00F1 (decimal 241)
+   defining Unicode char U+00F2 (decimal 242)
+   defining Unicode char U+00F3 (decimal 243)
+   defining Unicode char U+00F4 (decimal 244)
+   defining Unicode char U+00F5 (decimal 245)
+   defining Unicode char U+00F6 (decimal 246)
+   defining Unicode char U+00F8 (decimal 248)
+   defining Unicode char U+00F9 (decimal 249)
+   defining Unicode char U+00FA (decimal 250)
+   defining Unicode char U+00FB (decimal 251)
+   defining Unicode char U+00FC (decimal 252)
+   defining Unicode char U+00FD (decimal 253)
+   defining Unicode char U+00FE (decimal 254)
+   defining Unicode char U+00FF (decimal 255)
+   defining Unicode char U+0100 (decimal 256)
+   defining Unicode char U+0101 (decimal 257)
+   defining Unicode char U+0102 (decimal 258)
+   defining Unicode char U+0103 (decimal 259)
+   defining Unicode char U+0104 (decimal 260)
+   defining Unicode char U+0105 (decimal 261)
+   defining Unicode char U+0106 (decimal 262)
+   defining Unicode char U+0107 (decimal 263)
+   defining Unicode char U+0108 (decimal 264)
+   defining Unicode char U+0109 (decimal 265)
+   defining Unicode char U+010A (decimal 266)
+   defining Unicode char U+010B (decimal 267)
+   defining Unicode char U+010C (decimal 268)
+   defining Unicode char U+010D (decimal 269)
+   defining Unicode char U+010E (decimal 270)
+   defining Unicode char U+010F (decimal 271)
+   defining Unicode char U+0110 (decimal 272)
+   defining Unicode char U+0111 (decimal 273)
+   defining Unicode char U+0112 (decimal 274)
+   defining Unicode char U+0113 (decimal 275)
+   defining Unicode char U+0114 (decimal 276)
+   defining Unicode char U+0115 (decimal 277)
+   defining Unicode char U+0116 (decimal 278)
+   defining Unicode char U+0117 (decimal 279)
+   defining Unicode char U+0118 (decimal 280)
+   defining Unicode char U+0119 (decimal 281)
+   defining Unicode char U+011A (decimal 282)
+   defining Unicode char U+011B (decimal 283)
+   defining Unicode char U+011C (decimal 284)
+   defining Unicode char U+011D (decimal 285)
+   defining Unicode char U+011E (decimal 286)
+   defining Unicode char U+011F (decimal 287)
+   defining Unicode char U+0120 (decimal 288)
+   defining Unicode char U+0121 (decimal 289)
+   defining Unicode char U+0122 (decimal 290)
+   defining Unicode char U+0123 (decimal 291)
+   defining Unicode char U+0124 (decimal 292)
+   defining Unicode char U+0125 (decimal 293)
+   defining Unicode char U+0128 (decimal 296)
+   defining Unicode char U+0129 (decimal 297)
+   defining Unicode char U+012A (decimal 298)
+   defining Unicode char U+012B (decimal 299)
+   defining Unicode char U+012C (decimal 300)
+   defining Unicode char U+012D (decimal 301)
+   defining Unicode char U+012E (decimal 302)
+   defining Unicode char U+012F (decimal 303)
+   defining Unicode char U+0130 (decimal 304)
+   defining Unicode char U+0131 (decimal 305)
+   defining Unicode char U+0132 (decimal 306)
+   defining Unicode char U+0133 (decimal 307)
+   defining Unicode char U+0134 (decimal 308)
+   defining Unicode char U+0135 (decimal 309)
+   defining Unicode char U+0136 (decimal 310)
+   defining Unicode char U+0137 (decimal 311)
+   defining Unicode char U+0139 (decimal 313)
+   defining Unicode char U+013A (decimal 314)
+   defining Unicode char U+013B (decimal 315)
+   defining Unicode char U+013C (decimal 316)
+   defining Unicode char U+013D (decimal 317)
+   defining Unicode char U+013E (decimal 318)
+   defining Unicode char U+0141 (decimal 321)
+   defining Unicode char U+0142 (decimal 322)
+   defining Unicode char U+0143 (decimal 323)
+   defining Unicode char U+0144 (decimal 324)
+   defining Unicode char U+0145 (decimal 325)
+   defining Unicode char U+0146 (decimal 326)
+   defining Unicode char U+0147 (decimal 327)
+   defining Unicode char U+0148 (decimal 328)
+   defining Unicode char U+014A (decimal 330)
+   defining Unicode char U+014B (decimal 331)
+   defining Unicode char U+014C (decimal 332)
+   defining Unicode char U+014D (decimal 333)
+   defining Unicode char U+014E (decimal 334)
+   defining Unicode char U+014F (decimal 335)
+   defining Unicode char U+0150 (decimal 336)
+   defining Unicode char U+0151 (decimal 337)
+   defining Unicode char U+0152 (decimal 338)
+   defining Unicode char U+0153 (decimal 339)
+   defining Unicode char U+0154 (decimal 340)
+   defining Unicode char U+0155 (decimal 341)
+   defining Unicode char U+0156 (decimal 342)
+   defining Unicode char U+0157 (decimal 343)
+   defining Unicode char U+0158 (decimal 344)
+   defining Unicode char U+0159 (decimal 345)
+   defining Unicode char U+015A (decimal 346)
+   defining Unicode char U+015B (decimal 347)
+   defining Unicode char U+015C (decimal 348)
+   defining Unicode char U+015D (decimal 349)
+   defining Unicode char U+015E (decimal 350)
+   defining Unicode char U+015F (decimal 351)
+   defining Unicode char U+0160 (decimal 352)
+   defining Unicode char U+0161 (decimal 353)
+   defining Unicode char U+0162 (decimal 354)
+   defining Unicode char U+0163 (decimal 355)
+   defining Unicode char U+0164 (decimal 356)
+   defining Unicode char U+0165 (decimal 357)
+   defining Unicode char U+0168 (decimal 360)
+   defining Unicode char U+0169 (decimal 361)
+   defining Unicode char U+016A (decimal 362)
+   defining Unicode char U+016B (decimal 363)
+   defining Unicode char U+016C (decimal 364)
+   defining Unicode char U+016D (decimal 365)
+   defining Unicode char U+016E (decimal 366)
+   defining Unicode char U+016F (decimal 367)
+   defining Unicode char U+0170 (decimal 368)
+   defining Unicode char U+0171 (decimal 369)
+   defining Unicode char U+0172 (decimal 370)
+   defining Unicode char U+0173 (decimal 371)
+   defining Unicode char U+0174 (decimal 372)
+   defining Unicode char U+0175 (decimal 373)
+   defining Unicode char U+0176 (decimal 374)
+   defining Unicode char U+0177 (decimal 375)
+   defining Unicode char U+0178 (decimal 376)
+   defining Unicode char U+0179 (decimal 377)
+   defining Unicode char U+017A (decimal 378)
+   defining Unicode char U+017B (decimal 379)
+   defining Unicode char U+017C (decimal 380)
+   defining Unicode char U+017D (decimal 381)
+   defining Unicode char U+017E (decimal 382)
+   defining Unicode char U+01CD (decimal 461)
+   defining Unicode char U+01CE (decimal 462)
+   defining Unicode char U+01CF (decimal 463)
+   defining Unicode char U+01D0 (decimal 464)
+   defining Unicode char U+01D1 (decimal 465)
+   defining Unicode char U+01D2 (decimal 466)
+   defining Unicode char U+01D3 (decimal 467)
+   defining Unicode char U+01D4 (decimal 468)
+   defining Unicode char U+01E2 (decimal 482)
+   defining Unicode char U+01E3 (decimal 483)
+   defining Unicode char U+01E6 (decimal 486)
+   defining Unicode char U+01E7 (decimal 487)
+   defining Unicode char U+01E8 (decimal 488)
+   defining Unicode char U+01E9 (decimal 489)
+   defining Unicode char U+01EA (decimal 490)
+   defining Unicode char U+01EB (decimal 491)
+   defining Unicode char U+01F0 (decimal 496)
+   defining Unicode char U+01F4 (decimal 500)
+   defining Unicode char U+01F5 (decimal 501)
+   defining Unicode char U+0218 (decimal 536)
+   defining Unicode char U+0219 (decimal 537)
+   defining Unicode char U+021A (decimal 538)
+   defining Unicode char U+021B (decimal 539)
+   defining Unicode char U+01E02 (decimal 7682)
+   defining Unicode char U+01E03 (decimal 7683)
+   defining Unicode char U+200C (decimal 8204)
+   defining Unicode char U+2013 (decimal 8211)
+   defining Unicode char U+2014 (decimal 8212)
+   defining Unicode char U+2018 (decimal 8216)
+   defining Unicode char U+2019 (decimal 8217)
+   defining Unicode char U+201A (decimal 8218)
+   defining Unicode char U+201C (decimal 8220)
+   defining Unicode char U+201D (decimal 8221)
+   defining Unicode char U+201E (decimal 8222)
+   defining Unicode char U+2030 (decimal 8240)
+   defining Unicode char U+2031 (decimal 8241)
+   defining Unicode char U+2039 (decimal 8249)
+   defining Unicode char U+203A (decimal 8250)
+   defining Unicode char U+2423 (decimal 9251)
+)
+Now handling font encoding OT1 ...
+... processing UTF-8 mapping file for font encoding OT1
+
+(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu
+File: ot1enc.dfu 2015/12/03 v1.1r UTF-8 support for inputenc
+   defining Unicode char U+00A0 (decimal 160)
+   defining Unicode char U+00A1 (decimal 161)
+   defining Unicode char U+00A3 (decimal 163)
+   defining Unicode char U+00AD (decimal 173)
+   defining Unicode char U+00B8 (decimal 184)
+   defining Unicode char U+00BF (decimal 191)
+   defining Unicode char U+00C5 (decimal 197)
+   defining Unicode char U+00C6 (decimal 198)
+   defining Unicode char U+00D8 (decimal 216)
+   defining Unicode char U+00DF (decimal 223)
+   defining Unicode char U+00E6 (decimal 230)
+   defining Unicode char U+00EC (decimal 236)
+   defining Unicode char U+00ED (decimal 237)
+   defining Unicode char U+00EE (decimal 238)
+   defining Unicode char U+00EF (decimal 239)
+   defining Unicode char U+00F8 (decimal 248)
+   defining Unicode char U+0131 (decimal 305)
+   defining Unicode char U+0141 (decimal 321)
+   defining Unicode char U+0142 (decimal 322)
+   defining Unicode char U+0152 (decimal 338)
+   defining Unicode char U+0153 (decimal 339)
+   defining Unicode char U+0174 (decimal 372)
+   defining Unicode char U+0175 (decimal 373)
+   defining Unicode char U+0176 (decimal 374)
+   defining Unicode char U+0177 (decimal 375)
+   defining Unicode char U+0218 (decimal 536)
+   defining Unicode char U+0219 (decimal 537)
+   defining Unicode char U+021A (decimal 538)
+   defining Unicode char U+021B (decimal 539)
+   defining Unicode char U+2013 (decimal 8211)
+   defining Unicode char U+2014 (decimal 8212)
+   defining Unicode char U+2018 (decimal 8216)
+   defining Unicode char U+2019 (decimal 8217)
+   defining Unicode char U+201C (decimal 8220)
+   defining Unicode char U+201D (decimal 8221)
+)
+Now handling font encoding OMS ...
+... processing UTF-8 mapping file for font encoding OMS
+
+(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu
+File: omsenc.dfu 2015/12/03 v1.1r UTF-8 support for inputenc
+   defining Unicode char U+00A7 (decimal 167)
+   defining Unicode char U+00B6 (decimal 182)
+   defining Unicode char U+00B7 (decimal 183)
+   defining Unicode char U+2020 (decimal 8224)
+   defining Unicode char U+2021 (decimal 8225)
+   defining Unicode char U+2022 (decimal 8226)
+)
+Now handling font encoding OMX ...
+... no UTF-8 mapping file for font encoding OMX
+Now handling font encoding U ...
+... no UTF-8 mapping file for font encoding U
+   defining Unicode char U+00A9 (decimal 169)
+   defining Unicode char U+00AA (decimal 170)
+   defining Unicode char U+00AE (decimal 174)
+   defining Unicode char U+00BA (decimal 186)
+   defining Unicode char U+02C6 (decimal 710)
+   defining Unicode char U+02DC (decimal 732)
+   defining Unicode char U+200C (decimal 8204)
+   defining Unicode char U+2026 (decimal 8230)
+   defining Unicode char U+2122 (decimal 8482)
+   defining Unicode char U+2423 (decimal 9251)
+))
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
+Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
+
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
+Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
+\KV@toks@=\toks16
+)
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
+Package: graphics 2016/01/03 v1.0q Standard LaTeX Graphics (DPC,SPQR)
+
+(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
+Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
+File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
+)
+Package graphics Info: Driver file: pdftex.def on input line 95.
+
+(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
+File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
+Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
+)
+\Gread@gobject=\count87
+))
+\Gin@req@height=\dimen103
+\Gin@req@width=\dimen104
+)
+(/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty
+Package: subcaption 2016/02/20 v1.1-142 Sub-captions (AR)
+
+(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
+Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
+
+(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
+Package: caption3 2016/02/04 v1.7-139 caption3 kernel (AR)
+Package caption3 Info: TeX engine: e-TeX on input line 67.
+\captionmargin=\dimen105
+\captionmargin@=\dimen106
+\captionwidth=\dimen107
+\caption@tempdima=\dimen108
+\caption@indent=\dimen109
+\caption@parindent=\dimen110
+\caption@hangindent=\dimen111
+)
+\c@ContinuedFloat=\count88
+)
+\c@subfigure=\count89
+\c@subtable=\count90
+)
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf.sty
+Package: epstopdf 2010/02/09 v2.5 Conversion with epstopdf on the fly (HO)
+
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
+Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
+
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
+Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
+Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
+))
+(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
+Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
+Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
+(etexcmds)             that some package has redefined \expanded.
+(etexcmds)             In the latter case, load this package earlier.
+)))
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
+Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
+)
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
+Package ifpdf Info: pdfTeX in PDF mode is detected.
+)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: \pdf@primitive is available.
+Package pdftexcmds Info: \pdf@ifprimitive is available.
+Package pdftexcmds Info: \pdfdraftmode found.
+)
+Package grfext Info: Graphics extension search list:
+(grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
+G,.JBIG2,.JB2,.eps]
+(grfext)             \AppendGraphicsExtensions on input line 452.
+
+(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
+File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
+e
+)))
+(/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty
+Package: natbib 2010/09/13 8.31b (PWD, AO)
+\bibhang=\skip43
+\bibsep=\skip44
+LaTeX Info: Redefining \cite on input line 694.
+\c@NAT@ctr=\count91
+)
+(/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
+Package: tcolorbox 2016/02/29 version 3.90 text color boxes
+
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
+\pgfutil@everybye=\toks17
+\pgfutil@tempdima=\dimen112
+\pgfutil@tempdimb=\dimen113
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t
+ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
+\pgfutil@abb=\box26
+(/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty
+Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
+Package: pgfrcs 2015/08/07 v3.0.1a (rcs-revision 1.31)
+))
+Package: pgf 2015/08/07 v3.0.1a (rcs-revision 1.15)
+
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
+Package: pgfsys 2014/07/09 v3.0.1a (rcs-revision 1.48)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
+\pgfkeys@pathtoks=\toks18
+\pgfkeys@temptoks=\toks19
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t
+ex
+\pgfkeys@tmptoks=\toks20
+))
+\pgf@x=\dimen114
+\pgf@y=\dimen115
+\pgf@xa=\dimen116
+\pgf@ya=\dimen117
+\pgf@xb=\dimen118
+\pgf@yb=\dimen119
+\pgf@xc=\dimen120
+\pgf@yc=\dimen121
+\w@pgf@writea=\write3
+\r@pgf@reada=\read1
+\c@pgf@counta=\count92
+\c@pgf@countb=\count93
+\c@pgf@countc=\count94
+\c@pgf@countd=\count95
+\t@pgf@toka=\toks21
+\t@pgf@tokb=\toks22
+\t@pgf@tokc=\toks23
+ (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
+File: pgf.cfg 2008/05/14  (rcs-revision 1.7)
+)
+Driver file for pgf: pgfsys-pdftex.def
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
+File: pgfsys-pdftex.def 2014/10/11  (rcs-revision 1.35)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.de
+f
+File: pgfsys-common-pdf.def 2013/10/10  (rcs-revision 1.13)
+)))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.
+tex
+File: pgfsyssoftpath.code.tex 2013/09/09  (rcs-revision 1.9)
+\pgfsyssoftpath@smallbuffer@items=\count96
+\pgfsyssoftpath@bigbuffer@items=\count97
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.
+tex
+File: pgfsysprotocol.code.tex 2006/10/16  (rcs-revision 1.4)
+)) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
+Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
+
+(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
+File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
+)
+Package xcolor Info: Driver file: pdftex.def on input line 225.
+Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
+Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
+Package xcolor Info: Model `RGB' extended on input line 1353.
+Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
+Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
+Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
+Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
+Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
+Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
+Package: pgfcore 2010/04/11 v3.0.1a (rcs-revision 1.7)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
+\pgfmath@dimen=\dimen122
+\pgfmath@count=\count98
+\pgfmath@box=\box27
+\pgfmath@toks=\toks24
+\pgfmath@stack@operand=\toks25
+\pgfmath@stack@operation=\toks26
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code
+.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet
+ric.code.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod
+e.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison
+.code.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.
+tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code
+.tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.
+tex)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari
+thmetics.code.tex)))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
+\c@pgfmathroundto@lastzeros=\count99
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.te
+x
+File: pgfcorepoints.code.tex 2013/10/07  (rcs-revision 1.27)
+\pgf@picminx=\dimen123
+\pgf@picmaxx=\dimen124
+\pgf@picminy=\dimen125
+\pgf@picmaxy=\dimen126
+\pgf@pathminx=\dimen127
+\pgf@pathmaxx=\dimen128
+\pgf@pathminy=\dimen129
+\pgf@pathmaxy=\dimen130
+\pgf@xx=\dimen131
+\pgf@xy=\dimen132
+\pgf@yx=\dimen133
+\pgf@yy=\dimen134
+\pgf@zx=\dimen135
+\pgf@zy=\dimen136
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.
+code.tex
+File: pgfcorepathconstruct.code.tex 2013/10/07  (rcs-revision 1.29)
+\pgf@path@lastx=\dimen137
+\pgf@path@lasty=\dimen138
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code
+.tex
+File: pgfcorepathusage.code.tex 2014/11/02  (rcs-revision 1.24)
+\pgf@shorten@end@additional=\dimen139
+\pgf@shorten@start@additional=\dimen140
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.te
+x
+File: pgfcorescopes.code.tex 2015/05/08  (rcs-revision 1.46)
+\pgfpic=\box28
+\pgf@hbox=\box29
+\pgf@layerbox@main=\box30
+\pgf@picture@serial@count=\count100
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.c
+ode.tex
+File: pgfcoregraphicstate.code.tex 2014/11/02  (rcs-revision 1.12)
+\pgflinewidth=\dimen141
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformation
+s.code.tex
+File: pgfcoretransformations.code.tex 2015/08/07  (rcs-revision 1.20)
+\pgf@pt@x=\dimen142
+\pgf@pt@y=\dimen143
+\pgf@pt@temp=\dimen144
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
+File: pgfcorequick.code.tex 2008/10/09  (rcs-revision 1.3)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.t
+ex
+File: pgfcoreobjects.code.tex 2006/10/11  (rcs-revision 1.2)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing
+.code.tex
+File: pgfcorepathprocessing.code.tex 2013/09/09  (rcs-revision 1.9)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.te
+x
+File: pgfcorearrows.code.tex 2015/05/14  (rcs-revision 1.43)
+\pgfarrowsep=\dimen145
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
+File: pgfcoreshade.code.tex 2013/07/15  (rcs-revision 1.15)
+\pgf@max=\dimen146
+\pgf@sys@shading@range@num=\count101
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
+File: pgfcoreimage.code.tex 2013/07/15  (rcs-revision 1.18)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.
+tex
+File: pgfcoreexternal.code.tex 2014/07/09  (rcs-revision 1.21)
+\pgfexternal@startupbox=\box31
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.te
+x
+File: pgfcorelayers.code.tex 2013/07/18  (rcs-revision 1.7)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.c
+ode.tex
+File: pgfcoretransparency.code.tex 2013/09/30  (rcs-revision 1.5)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.
+tex
+File: pgfcorepatterns.code.tex 2013/11/07  (rcs-revision 1.5)
+)))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
+File: pgfmoduleshapes.code.tex 2014/03/21  (rcs-revision 1.35)
+\pgfnodeparttextbox=\box32
+) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
+File: pgfmoduleplot.code.tex 2015/08/03  (rcs-revision 1.13)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65
+.sty
+Package: pgfcomp-version-0-65 2007/07/03 v3.0.1a (rcs-revision 1.7)
+\pgf@nodesepstart=\dimen147
+\pgf@nodesepend=\dimen148
+)
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18
+.sty
+Package: pgfcomp-version-1-18 2007/07/23 v3.0.1a (rcs-revision 1.1)
+)) (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty
+Package: verbatim 2014/10/28 v1.5q LaTeX2e package for verbatim enhancements
+\every@verbatim=\toks27
+\verbatim@line=\toks28
+\verbatim@in@stream=\read2
+)
+(/usr/share/texlive/texmf-dist/tex/latex/environ/environ.sty
+Package: environ 2014/05/04 v0.3 A new way to define environments
+
+(/usr/share/texlive/texmf-dist/tex/latex/trimspaces/trimspaces.sty
+Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list
+)
+\@envbody=\toks29
+)
+(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
+Package: etoolbox 2015/08/02 v2.2a e-TeX tools for LaTeX (JAW)
+\etb@tempcnta=\count102
+)
+\tcb@titlebox=\box33
+\tcb@upperbox=\box34
+\tcb@lowerbox=\box35
+\tcb@phantombox=\box36
+\c@tcbbreakpart=\count103
+\c@tcblayer=\count104
+\tcolorbox@number=\count105
+\tcb@temp=\box37
+\tcb@temp=\box38
+\tcb@temp=\box39
+\tcb@temp=\box40
+\tcb@out=\write4
+\tcb@record@out=\write5
+)
+(/usr/share/texlive/texmf-dist/tex/latex/lipsum/lipsum.sty
+Package: lipsum 2014/07/27 v1.3 150 paragraphs of Lorem Ipsum dummy text
+\c@lips@count=\count106
+)
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex))
+(/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
+Package: pgffor 2013/12/13 v3.0.1a (rcs-revision 1.25)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)
+\pgffor@iter=\dimen149
+\pgffor@skip=\dimen150
+\pgffor@stack=\toks30
+\pgffor@toks=\toks31
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
+Package: tikz 2015/08/07 v3.0.1a (rcs-revision 1.151)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers
+.code.tex
+File: pgflibraryplothandlers.code.tex 2013/08/31 v3.0.1a (rcs-revision 1.20)
+\pgf@plot@mark@count=\count107
+\pgfplotmarksize=\dimen151
+)
+\tikz@lastx=\dimen152
+\tikz@lasty=\dimen153
+\tikz@lastxsaved=\dimen154
+\tikz@lastysaved=\dimen155
+\tikzleveldistance=\dimen156
+\tikzsiblingdistance=\dimen157
+\tikz@figbox=\box41
+\tikz@figbox@bg=\box42
+\tikz@tempbox=\box43
+\tikz@tempbox@bg=\box44
+\tikztreelevel=\count108
+\tikznumberofchildren=\count109
+\tikznumberofcurrentchild=\count110
+\tikz@fig@count=\count111
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
+File: pgfmodulematrix.code.tex 2013/09/17  (rcs-revision 1.8)
+\pgfmatrixcurrentrow=\count112
+\pgfmatrixcurrentcolumn=\count113
+\pgf@matrix@numberofcolumns=\count114
+)
+\tikz@expandcount=\count115
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibrarytopaths.code.tex
+File: tikzlibrarytopaths.code.tex 2008/06/17 v3.0.1a (rcs-revision 1.2)
+)))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibraryshapes.geometric.code.tex
+File: tikzlibraryshapes.geometric.code.tex 2008/01/09 v3.0.1a (rcs-revision 1.1
+)
+
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/shapes/pgflibraryshape
+s.geometric.code.tex
+File: pgflibraryshapes.geometric.code.tex 2008/06/26 v3.0.1a (rcs-revision 1.1)
+
+))
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibraryquotes.code.tex
+File: tikzlibraryquotes.code.tex 2014/03/21 v3.0.1a (rcs-revision 1.4)
+)
+(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
+zlibraryangles.code.tex
+File: tikzlibraryangles.code.tex 2013/08/28 v3.0.1a (rcs-revision 1.1)
+)
+(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
+Package: geometry 2010/09/12 v5.6 Page Geometry
+
+(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty
+Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
+Package ifvtex Info: VTeX not detected.
+)
+(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
+)
+\Gm@cnth=\count116
+\Gm@cntv=\count117
+\c@Gm@tempcnt=\count118
+\Gm@bindingoffset=\dimen158
+\Gm@wd@mp=\dimen159
+\Gm@odd@mp=\dimen160
+\Gm@even@mp=\dimen161
+\Gm@layoutwidth=\dimen162
+\Gm@layoutheight=\dimen163
+\Gm@layouthoffset=\dimen164
+\Gm@layoutvoffset=\dimen165
+\Gm@dimlist=\toks32
+) (./main.aux
+
+LaTeX Warning: Label `' multiply defined.
+
+)
+\openout1 = `main.aux'.
+
+LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 35.
+LaTeX Font Info:    ... okay on input line 35.
+LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 35.
+LaTeX Font Info:    ... okay on input line 35.
+LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 35.
+LaTeX Font Info:    ... okay on input line 35.
+LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 35.
+LaTeX Font Info:    ... okay on input line 35.
+LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 35.
+LaTeX Font Info:    ... okay on input line 35.
+LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 35.
+LaTeX Font Info:    ... okay on input line 35.
+ (/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
+[Loading MPS to PDF converter (version 2006.09.02).]
+\scratchcounter=\count119
+\scratchdimen=\dimen166
+\scratchbox=\box45
+\nofMPsegments=\count120
+\nofMParguments=\count121
+\everyMPshowfont=\toks33
+\MPscratchCnt=\count122
+\MPscratchDim=\dimen167
+\MPnumerator=\count123
+\makeMPintoPDFobject=\count124
+\everyMPtoPDFconversion=\toks34
+)
+Package caption Info: Begin \AtBeginDocument code.
+Package caption Info: End \AtBeginDocument code.
+ ABD: EveryShipout initializing macros
+*geometry* driver: auto-detecting
+*geometry* detected driver: pdftex
+*geometry* verbose mode - [ preamble ] result:
+* driver: pdftex
+* paper: <default>
+* layout: <same size as paper>
+* layoutoffset:(h,v)=(0.0pt,0.0pt)
+* modes: 
+* h-part:(L,W,R)=(90.3375pt, 433.62001pt, 90.3375pt)
+* v-part:(T,H,B)=(72.26999pt, 632.3625pt, 90.3375pt)
+* \paperwidth=614.295pt
+* \paperheight=794.96999pt
+* \textwidth=433.62001pt
+* \textheight=632.3625pt
+* \oddsidemargin=18.0675pt
+* \evensidemargin=18.0675pt
+* \topmargin=-37.0pt
+* \headheight=12.0pt
+* \headsep=25.0pt
+* \topskip=12.0pt
+* \footskip=30.0pt
+* \marginparwidth=44.0pt
+* \marginparsep=10.0pt
+* \columnsep=10.0pt
+* \skip\footins=10.8pt plus 4.0pt minus 2.0pt
+* \hoffset=0.0pt
+* \voffset=0.0pt
+* \mag=1000
+* \@twocolumnfalse
+* \@twosidefalse
+* \@mparswitchfalse
+* \@reversemarginfalse
+* (1in=72.27pt=25.4mm, 1cm=28.453pt)
+
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <14.4> on input line 37.
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <7> on input line 37.
+
+Package natbib Warning: Citation `Doucas_Theory_1998' on page 1 undefined on in
+put line 40.
+
+
+Package natbib Warning: Citation `PhysRevSTAB.5.072802' on page 1 undefined on 
+input line 40.
+
+
+Package natbib Warning: Citation `Doucas:2006ci' on page 1 undefined on input l
+ine 40.
+
+
+Package natbib Warning: Citation `andrews:in2p3-00998721' on page 1 undefined o
+n input line 40.
+
+
+Package natbib Warning: Citation `NIMA_SP_2014' on page 1 undefined on input li
+ne 43.
+
+
+Package natbib Warning: Citation `delerue:in2p3-01322190' on page 1 undefined o
+n input line 43.
+
+
+Package natbib Warning: Citation `SOLEIL_Linac' on page 1 undefined on input li
+ne 43.
+
+
+Package natbib Warning: Citation `NIMA_SP_2014' on page 1 undefined on input li
+ne 43.
+
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <12> on input line 45.
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <8> on input line 45.
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <6> on input line 45.
+<plots/spesosetup.jpg, id=4, 3276.24pt x 2457.18pt>
+File: plots/spesosetup.jpg Graphic file (type jpg)
+ <use plots/spesosetup.jpg>
+Package pdftex.def Info: plots/spesosetup.jpg used on input line 51.
+(pdftex.def)             Requested size: 325.215pt x 243.89522pt.
+
+Overfull \hbox (26.82362pt too wide) in paragraph at lines 63--63
+[][][][]\OT1/cmr/bx/n/17.28 Det3  
+ []
+
+
+Overfull \hbox (29.7936pt too wide) in paragraph at lines 64--64
+[][][][]\OT1/cmr/bx/n/17.28 GOA  
+ []
+
+[1
+
+{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2 <./plots/spesosetup.jpg
+>]
+Package epstopdf Info: Source file: <plots/bgs.eps>
+(epstopdf)                    date: 2017-07-13 14:55:55
+(epstopdf)                    size: 61390 bytes
+(epstopdf)             Output file: <plots/bgs-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:10
+(epstopdf)                    size: 21677 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/bgs-eps-converted-to
+.pdf plots/bgs.eps>
+(epstopdf)             \includegraphics on input line 110.
+Package epstopdf Info: Output file is already uptodate.
+ <plots/bgs-eps-converted-to.pdf, id=18, 421.575pt x 316.18124pt>
+File: plots/bgs-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/bgs-eps-converted-to.pdf>
+Package pdftex.def Info: plots/bgs-eps-converted-to.pdf used on input line 110.
+
+(pdftex.def)             Requested size: 208.13574pt x 156.10252pt.
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <10.95> on input line 112.
+Package epstopdf Info: Source file: <plots/xpos.eps>
+(epstopdf)                    date: 2017-07-13 14:56:04
+(epstopdf)                    size: 44013 bytes
+(epstopdf)             Output file: <plots/xpos-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:11
+(epstopdf)                    size: 16443 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/xpos-eps-converted-t
+o.pdf plots/xpos.eps>
+(epstopdf)             \includegraphics on input line 118.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/xpos-eps-converted-to.pdf, id=19, 414.54875pt x 311.1625pt>
+File: plots/xpos-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/xpos-eps-converted-to.pdf>
+Package pdftex.def Info: plots/xpos-eps-converted-to.pdf used on input line 118
+.
+(pdftex.def)             Requested size: 208.13574pt x 156.22658pt.
+
+Underfull \hbox (badness 1242) in paragraph at lines 120--120
+[]\OT1/cmr/m/n/10.95 (b) |De-cay of the sig-nal as func-tion of
+ []
+
+[3
+
+ <./plots/bgs-eps-converted-to.pdf> <./plots/xpos-eps-converted-to.pdf>]
+Package epstopdf Info: Source file: <plots/LPM_hq.eps>
+(epstopdf)                    date: 2017-07-13 14:54:57
+(epstopdf)                    size: 689618 bytes
+(epstopdf)             Output file: <plots/LPM_hq-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:11
+(epstopdf)                    size: 170109 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/LPM_hq-eps-converted
+-to.pdf plots/LPM_hq.eps>
+(epstopdf)             \includegraphics on input line 137.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/LPM_hq-eps-converted-to.pdf, id=43, 421.575pt x 316.18124pt>
+File: plots/LPM_hq-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/LPM_hq-eps-converted-to.pdf>
+Package pdftex.def Info: plots/LPM_hq-eps-converted-to.pdf used on input line 1
+37.
+(pdftex.def)             Requested size: 208.13574pt x 156.10252pt.
+Package epstopdf Info: Source file: <plots/LPM_lq.eps>
+(epstopdf)                    date: 2017-07-13 14:54:47
+(epstopdf)                    size: 133125 bytes
+(epstopdf)             Output file: <plots/LPM_lq-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:12
+(epstopdf)                    size: 42013 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/LPM_lq-eps-converted
+-to.pdf plots/LPM_lq.eps>
+(epstopdf)             \includegraphics on input line 144.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/LPM_lq-eps-converted-to.pdf, id=44, 421.575pt x 316.18124pt>
+File: plots/LPM_lq-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/LPM_lq-eps-converted-to.pdf>
+Package pdftex.def Info: plots/LPM_lq-eps-converted-to.pdf used on input line 1
+44.
+(pdftex.def)             Requested size: 208.13574pt x 156.10252pt.
+ [4
+
+ <./plots/LPM_hq-eps-converted-to.pdf> <./plots/LPM_lq-eps-converted-to.pdf>]
+
+LaTeX Warning: Reference `polar ' on page 5 undefined on input line 157.
+
+Package epstopdf Info: Source file: <plots/spmMAY.eps>
+(epstopdf)                    date: 2017-07-13 14:56:55
+(epstopdf)                    size: 441345 bytes
+(epstopdf)             Output file: <plots/spmMAY-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:12
+(epstopdf)                    size: 104017 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/spmMAY-eps-converted
+-to.pdf plots/spmMAY.eps>
+(epstopdf)             \includegraphics on input line 162.
+Package epstopdf Info: Output file is already uptodate.
+<plots/spmMAY-eps-converted-to.pdf, id=64, 421.575pt x 316.18124pt>
+File: plots/spmMAY-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/spmMAY-eps-converted-to.pdf>
+Package pdftex.def Info: plots/spmMAY-eps-converted-to.pdf used on input line 1
+62.
+(pdftex.def)             Requested size: 208.13574pt x 156.10252pt.
+Package epstopdf Info: Source file: <plots/spmMAYa.eps>
+(epstopdf)                    date: 2017-07-13 14:57:38
+(epstopdf)                    size: 440255 bytes
+(epstopdf)             Output file: <plots/spmMAYa-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:12
+(epstopdf)                    size: 104398 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/spmMAYa-eps-converte
+d-to.pdf plots/spmMAYa.eps>
+(epstopdf)             \includegraphics on input line 169.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/spmMAYa-eps-converted-to.pdf, id=65, 421.575pt x 316.18124pt>
+File: plots/spmMAYa-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/spmMAYa-eps-converted-to.pdf>
+Package pdftex.def Info: plots/spmMAYa-eps-converted-to.pdf used on input line 
+169.
+(pdftex.def)             Requested size: 208.13574pt x 156.10252pt.
+
+Underfull \hbox (badness 2318) in paragraph at lines 170--170
+[]\OT1/cmr/m/n/10.95 (b) |Mea-sured SPR spec-trum from the
+ []
+
+Package epstopdf Info: Source file: <plots/spmMAY2.eps>
+(epstopdf)                    date: 2017-07-13 14:57:09
+(epstopdf)                    size: 1337652 bytes
+(epstopdf)             Output file: <plots/spmMAY2-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:13
+(epstopdf)                    size: 306421 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/spmMAY2-eps-converte
+d-to.pdf plots/spmMAY2.eps>
+(epstopdf)             \includegraphics on input line 181.
+Package epstopdf Info: Output file is already uptodate.
+<plots/spmMAY2-eps-converted-to.pdf, id=66, 421.575pt x 316.18124pt>
+File: plots/spmMAY2-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/spmMAY2-eps-converted-to.pdf>
+Package pdftex.def Info: plots/spmMAY2-eps-converted-to.pdf used on input line 
+181.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+Package epstopdf Info: Source file: <plots/BKGpolar.eps>
+(epstopdf)                    date: 2017-07-17 16:53:39
+(epstopdf)                    size: 113982 bytes
+(epstopdf)             Output file: <plots/BKGpolar-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-17 16:56:41
+(epstopdf)                    size: 37657 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/BKGpolar-eps-convert
+ed-to.pdf plots/BKGpolar.eps>
+(epstopdf)             \includegraphics on input line 194.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/BKGpolar-eps-converted-to.pdf, id=67, 421.575pt x 316.18124pt>
+File: plots/BKGpolar-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/BKGpolar-eps-converted-to.pdf>
+Package pdftex.def Info: plots/BKGpolar-eps-converted-to.pdf used on input line
+ 194.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+Package epstopdf Info: Source file: <plots/Polarization.eps>
+(epstopdf)                    date: 2017-07-13 14:57:53
+(epstopdf)                    size: 118912 bytes
+(epstopdf)             Output file: <plots/Polarization-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:13
+(epstopdf)                    size: 38652 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/Polarization-eps-con
+verted-to.pdf plots/Polarization.eps>
+(epstopdf)             \includegraphics on input line 200.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/Polarization-eps-converted-to.pdf, id=68, 421.575pt x 316.18124pt>
+File: plots/Polarization-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/Polarization-eps-converted-to.pdf>
+Package pdftex.def Info: plots/Polarization-eps-converted-to.pdf used on input 
+line 200.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+ [5
+
+ <./plots/spmMAY-eps-converted-to.pdf> <./plots/spmMAYa-eps-converted-to.pdf>]
+LaTeX Font Info:    External font `cmex10' loaded for size
+(Font)              <17.28> on input line 209.
+Package epstopdf Info: Source file: <plots/z14b.eps>
+(epstopdf)                    date: 2017-07-27 10:44:11
+(epstopdf)                    size: 55086 bytes
+(epstopdf)             Output file: <plots/z14b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:50
+(epstopdf)                    size: 16774 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/z14b-eps-converted-t
+o.pdf plots/z14b.eps>
+(epstopdf)             \includegraphics on input line 216.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/z14b-eps-converted-to.pdf, id=88, 421.575pt x 316.18124pt>
+File: plots/z14b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/z14b-eps-converted-to.pdf>
+Package pdftex.def Info: plots/z14b-eps-converted-to.pdf used on input line 216
+.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+Package epstopdf Info: Source file: <plots/z145b.eps>
+(epstopdf)                    date: 2017-07-27 10:44:23
+(epstopdf)                    size: 192793 bytes
+(epstopdf)             Output file: <plots/z145b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:50
+(epstopdf)                    size: 48877 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/z145b-eps-converted-
+to.pdf plots/z145b.eps>
+(epstopdf)             \includegraphics on input line 221.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/z145b-eps-converted-to.pdf, id=89, 421.575pt x 316.18124pt>
+File: plots/z145b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/z145b-eps-converted-to.pdf>
+Package pdftex.def Info: plots/z145b-eps-converted-to.pdf used on input line 22
+1.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+Package epstopdf Info: Source file: <plots/z15b.eps>
+(epstopdf)                    date: 2017-07-27 10:44:36
+(epstopdf)                    size: 187330 bytes
+(epstopdf)             Output file: <plots/z15b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:51
+(epstopdf)                    size: 47622 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/z15b-eps-converted-t
+o.pdf plots/z15b.eps>
+(epstopdf)             \includegraphics on input line 226.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/z15b-eps-converted-to.pdf, id=90, 421.575pt x 316.18124pt>
+File: plots/z15b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/z15b-eps-converted-to.pdf>
+Package pdftex.def Info: plots/z15b-eps-converted-to.pdf used on input line 226
+.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+Package epstopdf Info: Source file: <plots/z155b.eps>
+(epstopdf)                    date: 2017-07-27 10:44:48
+(epstopdf)                    size: 192414 bytes
+(epstopdf)             Output file: <plots/z155b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:51
+(epstopdf)                    size: 48730 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/z155b-eps-converted-
+to.pdf plots/z155b.eps>
+(epstopdf)             \includegraphics on input line 231.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/z155b-eps-converted-to.pdf, id=91, 421.575pt x 316.18124pt>
+File: plots/z155b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/z155b-eps-converted-to.pdf>
+Package pdftex.def Info: plots/z155b-eps-converted-to.pdf used on input line 23
+1.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+Package epstopdf Info: Source file: <plots/z16b.eps>
+(epstopdf)                    date: 2017-07-27 10:45:00
+(epstopdf)                    size: 210238 bytes
+(epstopdf)             Output file: <plots/z16b-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:51
+(epstopdf)                    size: 53091 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/z16b-eps-converted-t
+o.pdf plots/z16b.eps>
+(epstopdf)             \includegraphics on input line 236.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/z16b-eps-converted-to.pdf, id=92, 421.575pt x 316.18124pt>
+File: plots/z16b-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/z16b-eps-converted-to.pdf>
+Package pdftex.def Info: plots/z16b-eps-converted-to.pdf used on input line 236
+.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+Package epstopdf Info: Source file: <plots/polZb.eps>
+(epstopdf)                    date: 2017-07-27 10:45:17
+(epstopdf)                    size: 63632 bytes
+(epstopdf)             Output file: <plots/polZb-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-27 10:45:52
+(epstopdf)                    size: 19062 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/polZb-eps-converted-
+to.pdf plots/polZb.eps>
+(epstopdf)             \includegraphics on input line 241.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/polZb-eps-converted-to.pdf, id=93, 421.575pt x 316.18124pt>
+File: plots/polZb-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/polZb-eps-converted-to.pdf>
+Package pdftex.def Info: plots/polZb-eps-converted-to.pdf used on input line 24
+1.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+ [6 <./plots/spmMAY2-eps-converted-to.pdf> <./plots/BKGpolar-eps-converted-to.p
+df> <./plots/Polarization-eps-converted-to.pdf>] [7 <./plots/z14b-eps-converted
+-to.pdf> <./plots/z145b-eps-converted-to.pdf> <./plots/z15b-eps-converted-to.pd
+f> <./plots/z155b-eps-converted-to.pdf> <./plots/z16b-eps-converted-to.pdf> <./
+plots/polZb-eps-converted-to.pdf>]
+LaTeX Font Info:    Try loading font information for OMS+cmr on input line 254.
+
+
+(/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd
+File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
+)
+LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <12> not available
+(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 254.
+ [8
+
+]
+Package epstopdf Info: Source file: <plots/correction.eps>
+(epstopdf)                    date: 2017-07-13 15:08:19
+(epstopdf)                    size: 85600 bytes
+(epstopdf)             Output file: <plots/correction-eps-converted-to.pdf>
+(epstopdf)                    date: 2017-07-13 15:47:25
+(epstopdf)                    size: 21729 bytes
+(epstopdf)             Command: <repstopdf --outfile=plots/correction-eps-conve
+rted-to.pdf plots/correction.eps>
+(epstopdf)             \includegraphics on input line 324.
+Package epstopdf Info: Output file is already uptodate.
+
+<plots/correction-eps-converted-to.pdf, id=174, 421.575pt x 316.18124pt>
+File: plots/correction-eps-converted-to.pdf Graphic file (type pdf)
+
+<use plots/correction-eps-converted-to.pdf>
+Package pdftex.def Info: plots/correction-eps-converted-to.pdf used on input li
+ne 324.
+(pdftex.def)             Requested size: 216.81pt x 162.61081pt.
+ [9
+
+ <./plots/correction-eps-converted-to.pdf>]
+
+Package natbib Warning: There were undefined citations.
+
+[10] (./main.aux)
+
+LaTeX Warning: There were undefined references.
+
+
+LaTeX Warning: There were multiply-defined labels.
+
+ ) 
+Here is how much of TeX's memory you used:
+ 16566 strings out of 493029
+ 334228 string characters out of 6136235
+ 479129 words of memory out of 5000000
+ 19807 multiletter control sequences out of 15000+600000
+ 10339 words of font info for 36 fonts, out of 8000000 for 9000
+ 1141 hyphenation exceptions out of 8191
+ 54i,10n,73p,826b,958s stack positions out of 5000i,500n,10000p,200000b,80000s
+</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></us
+r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/shar
+e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi12.pfb></usr/share/texl
+ive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi8.pfb></usr/share/texlive/tex
+mf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist
+/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/fonts/
+type1/public/amsfonts/cm/cmr17.pfb></usr/share/texlive/texmf-dist/fonts/type1/p
+ublic/amsfonts/cm/cmr8.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/am
+sfonts/cm/cmsy10.pfb>
+Output written on main.pdf (10 pages, 3099645 bytes).
+PDF statistics:
+ 216 PDF objects out of 1000 (max. 8388607)
+ 146 compressed objects within 2 object streams
+ 0 named destinations out of 1000 (max. 500000)
+ 98 words of extra memory for PDF output out of 10000 (max. 10000000)
+
Index: /SPESO/SPESO_Polariz/report/main.tex
===================================================================
--- /SPESO/SPESO_Polariz/report/main.tex	(revision 735)
+++ /SPESO/SPESO_Polariz/report/main.tex	(revision 735)
@@ -0,0 +1,336 @@
+\documentclass[12pt]{article}
+\usepackage[utf8]{inputenc}
+\usepackage{graphicx}
+\usepackage{subcaption}
+\usepackage{epstopdf}
+\graphicspath{{plots/}}
+\title{SPESO report}
+\author{Khodnevych Vitalii, Nicolas Delerue}
+\date{\today}
+\usepackage{natbib}
+\usepackage{graphicx}
+\usepackage{tcolorbox}
+\usepackage{lipsum}
+
+\usepackage{tikz}
+\usetikzlibrary{shapes.geometric}
+\usetikzlibrary{quotes,angles}
+\tikzset{
+    buffer/.style={
+        draw,
+        shape border rotate=180,
+        regular polygon,
+        regular polygon sides=3,
+        fill=orange,
+        node distance=2cm,
+        minimum height=4em
+    }
+}
+\usepackage[top=1in, bottom=1.25in, left=1.25in, right=1.25in]{geometry}
+
+\newcommand{\ang}[1]{$#1^o$}
+
+
+
+\begin{document}
+
+\maketitle
+\section{Introduction}
+
+Coherent Smith-Purcell radiation is produced when a sufficiently short bunch of charged particles pass near a grating~\cite{Doucas_Theory_1998}. It has been proposed as a beam diagnostic to measure electron bunch profiles~\cite{PhysRevSTAB.5.072802,Doucas:2006ci}. In a bunch diagnostic based on Smith-Purcell radiation a good background rejection is important. Such rejection could be achieved by comparing both polarisation components of the radiation however there have been very few studies on the subject~\cite{andrews:in2p3-00998721}.
+
+
+The Smith-Purcell Experiment at SOLEIL (SPESO)~\cite{NIMA_SP_2014,delerue:in2p3-01322190} has been designed to allow extensive studies of Smith-Purcell radiation by measuring it parasitically in the SOLEIL Linac~\cite{SOLEIL_Linac}. It has been described previously in~\cite{NIMA_SP_2014}.
+
+The experiment has been upgraded during the summer 2016 with one of the radiation detector replaced with a Gaussian Optics Antenna from Mo-Tech fitted with two radiation detectors, one for each component. This antenna has a \ang{3.5} angular resolution. It is mounted on three translation stages and two rotation stages allowing to move it around the interaction point along 5 degrees of freedom. %The experimental setup is shown on figure~\ref{fig:experimental-setup}.
+\begin{figure}[!htb]
+   \centering
+   \begin{tikzpicture}
+%\node [anchor=west] (water) at (-1,1) {\Large Water};
+\begin{scope}[xshift=1.5cm]
+    \node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[width=0.75\textwidth]{spesosetup.jpg}};
+    \begin{scope}[x={(image.south east)},y={(image.north west)}]
+   %     \draw[red,ultra thick,rounded corners] (0.48,0.80) rectangle (0.55,0.95);
+   %     \draw [-latex, ultra thick, red] (note) to[out=0, in=-120] (0.48,0.80);
+      \draw [-stealth, line width=2pt, red,dashed] (0,0.33) -- ++(0.6,0.6);
+      
+      \draw [-stealth, line width=2pt, red] (0.1,0.2) -- (0.25,0.35);
+      \draw [-stealth, line width=2pt, red] (0.1,0.2) -- (0.25,0.1);
+      \draw [-stealth, line width=2pt, red] (0.1,0.2) -- (0.1,0.4);
+	\node[text width=0.5cm, red] at (0.25,0.4)     {\Large \textbf{S}};
+	\node[text width=0.5cm, red] at (0.07,0.3)     {\Large \textbf{Z}};
+	\node[text width=0.5cm, red] at (0.2,0.05)     {\Large \textbf{X}};
+	\node[text width=0.5cm, red] at (0.7,0.05)     {\Large \textbf{Det3}};
+	\node[text width=0.5cm, red] at (0.7,0.5)     {\Large \textbf{GOA}};
+
+    \end{scope}
+\end{scope}
+\end{tikzpicture}%
+   \caption{The SPESO experiment in the SOLEIL Linac. }
+   \label{fig:experimental-setup}
+\end{figure}
+
+
+
+\subsection{Geometry @ 28/07/2017}
+\begin{center}
+    \begin{tabular}{| l | l |}
+    \hline
+	Dimension & value\\ \hline\hline
+	Front of chamber - polarizer split point & 30.1 cm\\ \hline
+	Front of chamber - polarizer front (black shield) & 19.2 cm\\ \hline
+	Front of chamber - polarizer back (black shield) & 36.6 cm\\ \hline
+	Beam-pipe center - ground & 120 cm\\ \hline
+	Polarizer center - ground & 122 cm\\ \hline \hline 
+	Front of chamber - front window of DET3  & 24 cm\\ \hline
+	Beam-pipe center - Front of chamber & 10 cm\\ \hline
+	DET3-Polarizer & 25.5 cm\\ \hline \hline 
+	Front of chamber - Pyro  & 49.5 cm\\ \hline
+    \end{tabular}
+\end{center}
+Translation stage are manufactured by OWIS
+\begin{center}
+    \begin{tabular}{| l | l |}
+    \hline
+	TS & 41.123.40 AD\\ \hline
+	TX & 41.123.40 AD\\ \hline
+	TZ & 41.170.60 AG\\ \hline
+
+    \end{tabular}
+\end{center}
+
+\clearpage
+\newpage
+\section{Check of basic properties of SPR}
+Theory of Smith-Purcell radiation predict exponential increase of radiation with approaching grating to the beam. In figure \ref{bgs} is shown normalized by square of change signal amplitude as function of beam-grating separation (BGS) for two polarization components. In signal we could determine two components: signal of SPR and background. Observation of this kind od dependences allows to determine background level of the signal.\par 
+\begin{figure}[!htb]
+\centering
+\begin{subfigure}{.48\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{bgs.eps}
+  \caption{Normalized by square of change signal amplitude as function of beam-grating separation for two polarization components. Short pulse mode,   $QICT_1$ = $3.37\pm0.02$, $QICT_2$ = $1.23\pm1.24$, $RS_1$ = 2, $RS_2$ = -45, $RS_3$ = 0, $RS_4$ = 0, XPOS = 0, ZPOS = -145000, SPOS = -670000
+}
+  \label{bgs}
+\end{subfigure}%
+\ \ \ 
+\begin{subfigure}{.48\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{xpos.eps}
+  \caption{Decay of the signal as function of detector-grating separation for two polarization components. Short pulse mode, grating position = 1450000, $QICT_1$ = $3.4\pm0.01$, $QICT_2$ = $0.87\pm0.96$, $RS_1$ = 2, $RS_2$ = -45, $RS_3$ = 0, $RS_4$ = 0,  ZPOS = -145000, SPOS = -670000
+}
+  \label{xpos}
+\end{subfigure}
+\caption{Experimental data}
+\label{}
+\end{figure}
+One of the competitions of measuring SPR is to measure spectrum in wide angle with many detectors (each detector measure only one frequency component). Up to some limit, increase of detectors will increase quality of profile reconstruction. Main restriction is detector size and absorption of the radiation in medium. Last problem could be solved by installing detector close to the grating, but from other side this will limit number of detectors. We made measurements of decay signal amplitude as function of detector-grating separation. Results of this measurements You could see on the figure \ref{xpos}.
+
+\clearpage
+\newpage
+
+\section{Spectrum of SPR in Long Pulse Mode}
+Except polarizer on SPESO was insalled also detector with Horn anthena. Anthena increase sensitivity of the detector and we can see signals in long pulse mode (LPM). This spectrums for low and high charge are presented on figure \ref{lpm}.\par
+\begin{figure}[!htb]
+\centering
+\begin{subfigure}{.48\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{LPM_hq.eps}
+  \caption{Spectrum of SPR for high charge.  Long pulse mode,   grating position = 1450000, $QICT_1$ = $3.2\pm0.05$, $QICT_2$ = $3.11\pm0.07$, $RS_1$ = 2, $RS_2$ = -45, $RS_3$ = 0, $RS_4$ = -3, XPOS = 0, ZPOS = -145000, SPOS is changing. }
+   \label{lpml}
+\end{subfigure}%
+\ \ 
+\begin{subfigure}{.48\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{LPM_lq.eps}
+  \caption{Spectrum of SPR for low  charge. Long pulse mode, grating position = 1450000, $QICT_1$ = $0.51\pm0.01$, $QICT_2$ = $2.44\pm1.13$, $RS_1$ = 2, $RS_2$ = -45,  XPOS = 0, ZPOS = -145000, $RS_3$ is changing during measurements, but as its belong to other detector, there is no cut. $RS_4$ change one time during measurement (almost no change) and SPOS are changing.}
+  \label{lpmr}
+\end{subfigure}
+\caption{Experimental results}
+\label{lpm}
+\end{figure}
+This data set for this detector is not really correct, as there was no detector rotation. Also there was no shots in LPM with low charge. So figure \ref{lpmr} have only error information inself. Figure \ref{lpml} contain horn anthena angular acceptance information convoluted with detector sensitivity. 
+\clearpage
+\newpage
+\section{Spectrum of SPR in Short Pulse Mode}
+Pulses only in SPM mode are visible with polarizer. Experimental results are presented on figure \ref{spm2} and \ref{spm}. \par 
+During measurements of this spectrums, we change position of detector and turn angle in horisontal plane (RS3). When detector is not rotated, detector see only one frequency and small change of the borders of the grating (discussed in appendix). With $3.5^o$ angular acceptance of polarizer (efficiently small) we have exactly this situation. That case presented on figure \ref{rsc}. Here angle is calculated in $\Theta$ terms of theory of Smith-Purcell radiation with respect to shift from center of the grating. Same units was used for figure \ref{rsch}. But this time RS3 is also is changing. From other side, we could present spectrum in units of RS3 turn.\par 
+Results of degree of polarization for this two data sets are presented on figure \ref{polar }
+\begin{figure}[!htb]
+\centering
+\begin{subfigure}{.48\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{spmMAY.eps}
+  \caption{Measured SPR spectrum from the end of April to current date as function of angle calculated from detector position. Short pulse mode, grating position = 1450000, $QICT_1$ = $0.44\pm0.18$, $QICT_2$ = $0.53\pm0.59$, $RS_1$ = 2, $RS_2$ = -45, $RS_4$ = 0, XPOS = 0, ZPOS = -145000, $RS_3$ and SPOS are changing.}
+  \label{rsch}
+\end{subfigure}%
+\ \ 
+\begin{subfigure}{.48\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{spmMAYa.eps}
+  \caption{Measured SPR spectrum from the end of April to current date as function of angle calculated from detector rotation RS3. Short pulse mode, grating position = 1450000, $QICT_1$ = $0.44\pm0.18$, $QICT_2$ = $0.53\pm0.59$, $RS_1$ = 2, $RS_2$ = -45, $RS_4$ = 0, XPOS = 0, ZPOS = -145000, $RS_3$ and SPOS are changing.}
+  \end{subfigure}
+  \caption{Experimental results. }
+\label{spm2}
+  \end{figure}
+\begin{figure}[!htb]
+\centering
+
+  
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{spmMAY2.eps}
+  \caption{SPR spectrum with change only of position of detector, without rotation. Short pulse mode, grating position = 1450000, $QICT_1$ = $0.47\pm0.16$, $QICT_2$ = $0.49\pm0.37$, $RS_1$ = 2, $RS_2$ = -45, $RS_3$ = 0, $RS_4$ = -3, XPOS = 0, ZPOS = -145000, SPOS is changing
+}
+  \label{rsc}
+\end{subfigure}%
+\caption{Experimental results. }
+\label{spm}
+\end{figure}
+
+\begin{figure}[!htb]
+\centering
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{BKGpolar.eps}
+  \caption{Polarization of SPR background}
+  \label{polarb}
+\end{subfigure}%
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{Polarization.eps}
+  \caption{Polarization of SPR}
+  \label{polar}
+\end{subfigure}
+\caption{Experimental results. Polarization}
+\label{}
+\end{figure}
+
+\newpage
+\section{Z axis ($\phi$)}
+Same corrections as for S axis, could be applied to Z axis (see Appendix). As grating is not wide, boundary effects are strong and we could observe change of spectrum with change of detector height. Increase of height cause decrease of signal amplitude and change of spectral components, while polarization is almost constant (see fig. \ref{polz}).
+
+\begin{figure}[!htb]
+\centering
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{z14b.eps}
+  \caption{}
+\end{subfigure}%
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{z145b.eps}
+  \caption{}
+\end{subfigure}
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{z15b.eps}
+  \caption{}
+\end{subfigure}%
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{z155b.eps}
+  \caption{}
+\end{subfigure}
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{z16b.eps}
+  \caption{}
+\end{subfigure}%
+\begin{subfigure}{.5\textwidth}
+  \centering
+  \includegraphics[width=\linewidth]{polZb.eps}
+  \caption{Polarization}
+  \label{polz}
+\end{subfigure}
+
+\caption{Experimental results. SPR spectrums as function of vertical detector displacement.Short pulse mode, grating position = 1450000, $QICT_1$ = $0.41\pm0.01$, $QICT_2$ = $0.36\pm0.02$, $RS_1$ = 2, $RS_2$ = -45,   $RS_4$ = -3, XPOS = 10000, ZPOS, $RS_3$ and SPOS are changing.
+ }
+\label{zzz}
+\end{figure}
+\clearpage
+\newpage
+\section{Next steps}
+\begin{itemize}
+\item Decrease DET3 amplification.
+\item Check dimensions of setup and all main sizes -- done!
+\item Change script for detector rotation
+\item Check pyrodetector.
+\item ????
+\end{itemize}
+
+\clearpage
+\newpage
+\section{Appendix}
+Current experimental setup require careful geometrical correction. First step, is taking into account limit size of grating (see fig. \ref{tikz}). We divide the problem in two parts: when both sides of detector see the grating (green lines) and when only one half of detector saw it (red lines).  So in case detector move parallel to the grating, angles of grating borders are changing respectively to observation point. United for both cases result present on figure \ref{appx}. Here $\alpha_1$ and  $\alpha_2$ are angles from which detector saw grating borders when it move along S axis (real SPESO dimention was taken into account). \par 
+
+\begin{figure}[!htb]
+\centering
+\begin{tikzpicture}[scale=1]
+
+
+\draw[thick,red] (-4.5,-4) -- (4,0);
+\draw[thick,red](-4.5,-4) -- (-4,0);
+\draw[thick,green] (2,-4) -- (4,0);
+\draw[thick,green] (2,-4) -- (-4,0);
+\draw[black,thick,dashed] (2,-4) -- (4.3,0);
+\draw[black,thick,dashed] (2,-4) -- (-0.3,0);
+\draw[black,thick,dashed] (-4.5,-4) -- (-6.8,0);
+\draw[black,thick,dashed] (-4.5,-4) -- (-2.2,0);
+\draw[black,dashed] (-4.5,-4) -- (-4.5,0.1);
+\draw[black,dashed] (2,-4) -- (2,0.1);
+\draw[black,thick,dashed] (0,-4.5) -- (0,0.5);
+\draw[black, <->] (4.2,-4) -- (4.2,0);
+\draw[black, <->] (-4,0.2) -- (4,0.2);
+\node[text width=0.5cm] at (0,0.5)     {L};
+
+\node[text width=0.5cm] at (5,-2)     {H};
+\node[text width=0.5cm] at (0,-4.2)     {0};
+\node[text width=0.5cm] at (2,-4.2)     {$x_1$};
+\node[text width=0.5cm] at (-4.5,-4.2)     {$x_2$};
+
+\filldraw[fill=gray, draw=black] (-4,0) rectangle (4,0.1);
+
+
+    \coordinate (C) at (-4.5,0);
+        \coordinate (A) at (-4.5,-4);
+    \coordinate (B) at (-4,0);
+    \pic [draw, <-, "$\gamma_1$", angle eccentricity=1.2,angle radius=2cm] {angle = B--A--C};
+        \coordinate (B) at (4,0);
+    \pic [draw, <-, "$\gamma_2$", angle eccentricity=1.2,angle radius=1.9cm] {angle = B--A--C};
+        \coordinate (C) at (-4,0);
+        \coordinate (A) at (2,-4);
+    \coordinate (B) at (2,0);
+    \pic [draw, <-, "$\beta_1$", angle eccentricity=1.2,angle radius=1.9cm] {angle = B--A--C};
+        \coordinate (C) at (4,0);
+
+    \pic [draw, ->, "$\beta_2$", angle eccentricity=1.2,angle radius=1.9cm] {angle = C--A--B};
+
+\node[buffer] at (-4.5, -3)  {\ D\ } ;
+\node[buffer] at (2, -3) {\ D\ } ;
+
+\draw[thick,->] (-7,-4.) -- (5,-4.) node[anchor=north west] {S};
+%\filldraw[fill=gray, draw=white] (7,0) rectangle (15,0.1);
+
+\end{tikzpicture}
+\caption{Geometrical corrections}
+\label{tikz}
+
+\end{figure}
+
+Second step is to take into account angular acceptance of detector when its not rotating (green, dashed lines on fig. \ref{appx}). Rotation of detector change angular acceptance and integrated region of frequencies in signal integral. Reared should note, that without rotation and with small angular acceptance, this frequency region will be the same along all grating, up to grating borders. From other side, current model is for infinite grating and exact impact of finite grating size should be investigated.\par 
+\begin{figure}[!htb]
+
+  \centering
+  \includegraphics[width=0.5\linewidth]{correction.eps}
+
+\caption{Geometrical corrections}
+\label{appx}
+\end{figure}
+Third step is taking into account grating rotation, which is simple shift in angular acceptance. \par 
+Using all this correction, we are able to calculate correctly signal of SPR from current (gfw) model
+
+
+
+
+
+\end{document}
